Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Elon Yakir on Sep 21, 2008 04:15
open dhtmlx forum
dhtmlx tree checkbox

Is it possible that only some tree nodes will have checkboxes?
Answer posted by dhtmlx support on Sep 23, 2008 01:44
Yes, it is possible.

You can use the "nocheckbox" attribute in the xml:
 
    <item nocheckbox="1" ...
 
Moreover you can use showItemCheckbox method to hide/show checkbox:
 
    tree.showItemCheckbox(id,false);