Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by John Watson on Sep 25, 2008 06:44
open dhtmlx forum
Checkbox selection not including children

Currently my tree allows for checkboxes and when selecting an item it automatically selects the children, how can i turn this off?

Thanks

John
Answer posted by Support on Sep 29, 2008 16:21
Tree supports both 2-state and 3-state checkboxes
In case of 2 state checkboxes - items not checked automatically.  ( tree.enableCheckBoxes )
In case of 3 state checkboxes - child items checked automatically.  ( tree.enableCheckBoxes, tree.enableThreeStateCheckboxes )


There is no way to have 3-state checkboxes and not have child-auto-checking logic in same time ( can be done only by code modification )