vakata/jstree — Issue #177: Check All and Uncheck Selected
Author: stevanicus
Created: 2012-02-27 10:11:03+00:00
State: open

Goal: check all boxed and then uncheck selected ones

.bind("loaded.jstree", function (event, data) {

//check all checkboxes
jQuery(tree).jstree("check_all");

//doesnt work - but 'check_node' with same syntax does
$('tree').jstree("uncheck_node", ".hideMe");

//doesnt work here but does in firebug console - however, leaves html as checked even tho animation is
//unchecked
$.jstree._reference(tree).uncheck_node('.hideMe');

}