Hi
I’m sure I’m just not seeing the wood for the trees here, but if you can help I’d be very grateful.
I have a cs3(AS3) datagrid component and I’m tracking which row the user has selected by using ListEvent.ITEM_CLICK to listen for a selection and then event.rowIndex in the handler function and using this index no to select data from the array which was used with the dataProvider.
The problem is this. If the user re-sorts the rows using the column headers, this resets the rowIndex (ie the first entry is always row 0) and so this no longer relates back to my array.
Is there a way to directly access some or all of the data in the row the user selects?
Thanks in advance.