hi guys
there is a dataGrid on root, instance name: dataGridMain
1 column and multiple rows. when i select any item, i need to trace that. i m writing the code:
on(cellPress){
trace(_root.dataGridMain.selectedItem);
}
but its not working. its returning “[object Object]”
plz help. Thanks in advance.