Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jstree select all visible node only

var nodes = $('#tree').jstree(true).get_json("#", { flat: true });
         $.each(nodes, function (index, value) {
             var node = $("#schema").jstree().get_node(this.id);
             if (!node.state.hidden) {
                 $("#tree").jstree("select_node", node.id);
             }          

});
Source by www.everyething.com #
 
PREVIOUS NEXT
Tagged: #jstree #select #visible #node
ADD COMMENT
Topic
Name
5+9 =