I am displaying data into DataGrid using dataField attributes and dataProvider as ArrayCollection .
This is my Value Object which will represent a row in DataGrid
public class User
public var UName:String ;
public var Pwd:String ;
On to the clcik of the row in DataGrid , i am able to fetch the individual cell items using DatagridId.selectedItem.UName .
Is it possible to get the Entire User Object representing that Row .
I am sorry , if the question is not understandable , here basically i want to get the Entire VO of that row in the DataGrid .
Thanks in advnace
Try using something like below...
var userVO:User = DatagridId.selectedItem as User;