Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 20, 2008 23:39
open dhtmlx forum
Auto Expand Tree Grid on page load

Can someone help me to know how to load a tree grid XML contents(parent and children) in expanded state on page load.Currently on loading the XML I need to click the (+) symbol to expanded the elements.Can I get it defaulted??
Answer posted by Support on Nov 21, 2008 02:19
You can use "open" attribute in XML, or next code

grid.load(url,function(){
    grid.expandAll();
});