How can I check all parent nodes when a child node is checked in jstree?
$('#select_cats').jstree({
"core" : {
"themes" : {
"responsive": false
}
},
"types" : {
"default" : {
"icon" : "fa fa-folder icon-state-warning icon-lg"
},
"file" : {
"icon" : "fa fa-file icon-state-warning icon-lg"
}
},
"checkbox": {
"three_state": false
},
"plugins": ["types", "checkbox"]
});