Answers for "jstree select all visible node only"

0

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);
             }          

});
Posted by: Guest on December-01-2020

Code answers related to "jstree select all visible node only"

Code answers related to "Javascript"

Browse Popular Code Answers by Language