DataGrid get data from the selected row when clicked

gridBox.addEventListener(ListEvent.ITEM_CLICK, ItemClicked);

function ItemClicked(e:ListEvent){
  //heres the bit you want
  var o:Object = e.item;
  trace(o.Name);
  trace(o.Age);
Tech Reference:

Leave a Reply

Your email address will not be published. Required fields are marked *

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑