i'm new to Flex & am trying to convert a HTML table
"grid" of articles (containing title,author,date columns, etc) to
flex. I'm using a webservice as the dataprovider to the datagrid,
with data structured like so:
One of the columns of the datagrid is a "action" column which
uses a itemRenderer that contains a linkbar control with "edit"
& "delete" links, which should launch a new URL when clicked,
using the "aid" dataField for that datagrid row to pass to the URL.
I added a function
clickEvent(event) to the
click property of the <mx:LinkBar> tag inside the
itemRenderer, but i get a "call to a possibly undefined method
clickEvent" error in flexbuilder.
Looks like a scoping issue, but how do i access the function
from within this itemRenderer?
Also, how would I access the currently selected row of the
datagrid from within this itemRenderer? I know i can do something
like "event.currentTarget.selectedItem" if it was in the datagrid
scope...would it be the same from within an itemRenderer? I want to
basically send the user to
for the selected column] &
for the selected column]