3 Replies Latest reply on Aug 31, 2011 1:33 PM by Carol L. Frampton

    Flex Data Grid Help needed.

    Mihai Lupan

      Hello to everyone,

       

      I have a question regarding Datagrid:

       

      In my code I have class People witch has 4 variables : name,age,sex,town.

       

      I am ussing a form and every time the user clicks "Add User" button a new People object is generated and this new object is added to an ArrayList (myList).

       

      can you plese help me with the code for the dataGrid?i know that i have to set the dataprovider ="{myList}" but i was not able to code the collums corectly.can you please help me with this?

       

       

      Thanks,

      Mihai