Disable Parent checkbox if have children checkbox
MuhRiswan opened this issue · 2 comments
MuhRiswan commented
How to prevent a parent checkbox from being displayed if there are children in it?
jakezatecky commented
There is no direct option to remove parent checkboxes if any child has a checkbox, but you have the following options.
- Checkboxes can be hidden on a node level by setting
showCheckbox: false
for any given node. - They can also be hidden by the passing the
onlyLeafCheckboxes
property to the tree, which will force checkboxes to render only on leaf nodes.
MuhRiswan commented
thanks sir for answer, i have fix this problem to custome my API with add showCheckbox and condition.