PDA

View Full Version : Datagrid row selected


simplesoul
03-05-2008, 04:20 PM
Hi

I am using flash cs3 components. I am tracking which datagrid row the user selects using ListEvent.ITEM_CLICK and then event.rowIndex in the handler function.

The problem is: if the user sorts the rows, the index is reset (ie 0 is always the first entry) so rowIndex relates to a different entry.

Any solutions?