0 Replies Latest reply on Oct 4, 2011 11:25 PM by Charmaine Tian

    how to get selected data in AdvancedDataGrid

    Charmaine Tian

      I have an advanced data grid with selection mode set to multiple rows. I need to highlight the selected rows differently based on certain criteria on the row data. For that I define my own selectionIndicatorFunction. The question is: how do I know the current selected data in the function? I tried to use the selectedItem field, however it is NULL; field selectedCells give all the selected rows, not the latest selected row.

       

      Can anybody enlighten me how can I get the most recent selected row data? I'm using flex 4.5. Thanks in advance.