1 Reply Latest reply on Aug 22, 2010 10:53 PM by BhaskerChari

    How to get the ValueObject representing a row in a DataGrid , screen shot attached

    kiran7881 Level 1

      DataGrid.jpeg

      HI ,

       

      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