Categories | Question details Back To List | ||
dthmlxTreeGrid expandAll()
How can I laod the tree grid with all its node expanded. I tried calling expandAll() function before rendering the tree grid on the page, but it does not seem to works. All the items/nodes are in collpase mode although I use expandAll() whle laoding the tree grid.
Answer posted by Stanislav (support) on Dec 08, 2009 10:29 The loading is async., so expand command need to be executed from after-loading callback grid.load(url,function(){ grid.expandAll(); }); |