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