I need to export my nodes like this:
function recursive_simplify(node){ if(node.children){ for(var i =0;i
it's works fine, BUT! I need all checked nodes(checked & undetermined) My code returns only checked. Plz help.
I need to export my nodes like this:
function recursive_simplify(node){ if(node.children){ for(var i =0;i
it's works fine, BUT! I need all checked nodes(checked & undetermined) My code returns only checked. Plz help.
get_all_checked: function(obj) { obj = !obj || obj === -1 ? this.get_container() : this._get_node(obj); return obj.find(".jstree-checked, .jstree-undetermined"); };
use :
var checkedNodes = $(this).jstree("get_all_checked");