dimanche 15 février 2015

jsTree checkbox plugin - prevent parent node being checked when children are checked but check children when parent is checked

I am using the jstree plugin and have included the checkbox plugin. I have set three_state to false in order to prevent the parent node being checked when all child nodes have been checked.


However... I would still like the all child nodes to be selected when the parent node is selected...


Is there a way to achieve this? Any help would be greatly appreciated! Thanks!


Howard.



"checkbox" : {
"three_state" : false,
},

"plugins": ["checkboxes"]




Aucun commentaire:

Enregistrer un commentaire