I know I can set the SectionStackSection to setExpanded(true) but I don't see that anywhere in the treeGrid.
Announcement
Collapse
No announcement yet.
X
-
Use TreeGrid.getData().openAll()
Use TreeGrid.getData().openAll()
I'm using a TreeGrid with a client only DataSource and this method works for me, i hope it helps
passing null object as Criteria or just a new Criteria() produce the same results. I think you must call this method from DSCallback's execute method because fetchData runs asynchronously. If you do it somewhere else, just make sure your data is in place.Code:treeGrid.fetchData(new Criteria(),new DSCallback() { @Override public void execute(DSResponse response, Object rawData, DSRequest request) { treeGrid.getData().openAll(); } });
Cheers!Last edited by cirovladimir; 10 Nov 2010, 13:22.
Comment