Hi everybody,
I have a problem with the Datagrid component.
I used this to pass variables to the component:
code:

test_array = [{user:"Dimitris"}, {user:"Thalus"}, {user:"Pitros"}, {user:"Axristos"}];
list_grid.dataProvider = test_array;


This works great but i can`t find out wich item the user select.
I used a button with this script in it:
code:

on (click) {
trace(_root.list_grid.selectedItem);
}


But when i click the button it only returns this : "[Object] [Object]"
How can i return the true value of the user selection?
I can do it with the selectedIndex command but it will be a mess and more difficult to accomplish it.