i think it can be done in two ways:- first one is to convert your array collection to proper hierarchical layout and then use it as data provider
second one is to use some item renderer which has the intelligence to lay it out properly. ---> Akshar Kaul <--- On Thu, Jun 16, 2011 at 15:32, nvxuser <[email protected]> wrote: > Hi > > I have a flat array collection with more than 3000 items. Thease > items are generated at runtime. Each item contains 30 fileds including > Id, name, parent id etc... First item is the master one and its parent > id is 0. Second id's parent id is 1. Each item linked to each other by > Parent id. I want to display these items in hierarchical view. Could > anyone pls help me? > > My Data [] > [0] - Id =1, ParentID = 0, Name = "Item 1" > [0] - Id =2, ParentID = 1, Name = "Item 2" > [0] - Id =3, ParentID = 1, Name = "Item 3" > [0] - Id =4, ParentID = 2, Name = "Item 4" > > I want to display items as > > -[0] > [1] > -[2] > [3] > > Regards, > Nvxuser > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

