Any help on this issue?

Thanks

On Sep 9, 2:46 pm, VN <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a function to create the grouping (two levels), which is the
> data provider for Advanceddatagrid. I want to add summary at the group
> node. How to do that?
> eg
>      Node1(20)
>          Node1.1(5)
>          Node1.2(15)
>     Node2(10)
>           Node2.1(8)
>            Node2.2(2)
>
> This is my function.
>
> public function resultGroupByLane():void{
>
>                var mygroup:GroupingCollection=new
> GroupingCollection();
>                 mygroup.source = model.gatetransaction;
>
>                 var group:Grouping = new Grouping();
>                 var gf:GroupingField = new GroupingField("laneid");
>                 var gf1:GroupingField = new GroupingField("wtaskid");
>
>                 group.fields=[gf,gf1];
>
>                 mygroup.grouping = group;
>
>                 mygroup.refresh();
>                 dggroup.dataProvider = mygroup;
>        }
>
> Thanks
> VN

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