in your itemclicked event
first get the name of the datafield clicked on
var fld:String = event.target.columns[event.columnIndex].dataField;
then you have the selected item data
hope this helps
And thanks for your answer. It helped me realise that the problem is because the selectionMode is singleCell.
In such case the eevent.currentTarget.selectedItem is null and this is my problem becuase I need to be a singleCell the select mode (in order to make just a single cell selected and to point the user to the moment that he has selected just a single cell and in the same time it is strange that in such selection mode the selectedItem is null.
1 person found this helpful
ok, this is the way to get the data if in single cell mode.