Hi All,

            Am using the Advanced DataGrid as an item renderer within
an Advanced DataGrid with the static nested arrayCollection as a
dataProvider  as shown below.

       var initData:ArrayCollection = new ArrayCollection([
 
{ author:"xxxxx" ,edition:"2nd",publishedDate:"20-03-2003",
                    childern:
[{bookName:"Java",price:"600",pages:"567"}]
                  }
          ]);

           The advantage of this approach is that in the 1st
AdvancedDataGrid i will display only the Hierarchical data(depth =1)
and in the 2nd AdvancedDataGrid i will show  the data whose depth is 2
(data with the childern tag)

    Now the problem is that, how do i construct the dynamic nested
ArrayCollection as shown above by using the 2 different
arrayCollection objects as shown below

     var authorData:ArrayCollection = new ArrayCollection ([
               {author:"xxxxx" ,
edition:"2nd",publishedDate:"20-03-2003"}  ]);

     var authorData:ArrayCollection = new ArrayCollection ([
               {bookName:"Java",price:"600",pages:"567"}  ]);

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to