Hi,
Just set the AdvancedDataGrid's groupLabelFunction to something like this:
private function groupLabel(item:Object, depth:int):String
{
var count:int = item.children.length;
return item.GroupLabel + " (" + count + ")";
}
HTH
--- On Sun, 8/30/09, chauhan_icse <[email protected]> wrote:
From: chauhan_icse <[email protected]>
Subject: [flexcoders] Displaying row count with Group In ADG grouping
To: [email protected]
Date: Sunday, August 30, 2009, 9:40 AM
Hi All,
Is it possible to show row count at Group level in ADG ie I want to show
no of row count at each level of grouping.
For Example :-
Asia (2)
- India
- China
Europe (3)
- France
- Itely
-Switzerland
I am thinking of using filtering to acheive this but it would be great if
there is easy to way for it.
Regards,
Dharmendra