Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nagaraj on Sep 30, 2009 14:15
open dhtmlx forum
dhtmlxTree

how to render dhtmlxTree with some of the checkboxes checked by default. I tried this
tree.setCheck(1607,true);
1607 is the id of any item to be checked. this is not working .
any idea will be greatful.
Thanks
Naga
Answer posted by dhxSupport on Oct 01, 2009 07:36
Please check if you are calling this method after tree was fully loaded:
tree.loadXML(url,function(){
tree.setCheck(1607,true);
})