Answers for "jstree select all node"

0

jstree select all node

var data = $("#tree").jstree(true).get_json('#', { 'flat': true });
      $.each(data, function (i, val) {
          var node = $("#schema").jstree().get_node(val);
          if (node.original.type == type) {
              $("#tree").jstree("select_node", node.id); 
          }
      });
Posted by: Guest on December-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language