Remove the colored line in the code as it is of no use.

private function init():void
            {
                var countryArray:Array = [];
                acDg = new ArrayCollection();
                for(var i:int=0;i<ac.length;i++)
                {
                    var obj1:Object = ac[i];
                    var obj2:Array = ac[i].children;
                    var regionArray:Array = [];

                    for(var j:int=0;j<obj2.length;j++)
                    {
                        var region:Region = new Region(obj2[j].region,
obj2[j].amount);
                        regionArray.push(region);
                    }

                    var country:Country = new Country(obj1.country,
obj1.state, regionArray);
                    countryArray.push(country);

                }
                acDg = new ArrayCollection(countryArray);
            }


On Wed, Jan 13, 2010 at 3:17 PM, HISSAM <[email protected]> wrote:

> whats typed array collection??
>
> 2010/1/12 shameer salim <[email protected]>
>
>> Hi All,
>> I have a strange issue with AdvancedDatagrid. I am trying to show
>> HierarchicalData in the AdvDataGrid. It works perfectly when I am using a
>> generic array collection as dataprovider. But my advanceddatagrid doesn't
>> show up data when I am using a typed array collection. I tried googling, but
>> couldn't find any post in the net related to this. I have attached the
>> source file for reference. Can anyone please help me in this?
>>
>> Thanks,
>> Shameer
>>
>> --
>> 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]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>
>
> --
> ----------------------------------
> Hissam,
> Flex Developer,
> INDIA
> (m) +919860694301
> --------------------------------
> Sent from Pune, MH, India
> --
> 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]<flex_india%[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.

Reply via email to