In one piece of our application I'd like to show a tree of data that is grouped into sections on a particular field. So, it would appear similar to this example http://www.smartclient.com/smartgwt/...ouping_dynamic, but instead of simply flat rows within each group it would show each group as a tree (I'd potentially like to show grid summaries for each group as well.)
Seeing that TreeGrid extends ListGrid, the API would appear to support this by calling "treeGrid.setGroupByField(fieldName)". However, when I try this the grid renders no data (and if I instead simply switch the class type to a ListGrid instead or don't call that method, then it works fine.)
So, before I dig much further I thought I'd ask: does TreeGrid support grouping in the same fashion as ListGrid does? And if not, are there any plans to enable that kind of capability?
(BTW - I've tried updating to latest 3.0p nightly build, and saw the same behavior.)
Seeing that TreeGrid extends ListGrid, the API would appear to support this by calling "treeGrid.setGroupByField(fieldName)". However, when I try this the grid renders no data (and if I instead simply switch the class type to a ListGrid instead or don't call that method, then it works fine.)
So, before I dig much further I thought I'd ask: does TreeGrid support grouping in the same fashion as ListGrid does? And if not, are there any plans to enable that kind of capability?
(BTW - I've tried updating to latest 3.0p nightly build, and saw the same behavior.)
Comment