check box for ztree:
my code:
var treeObj = $.fn.zTree.init($("-sharptreeDemo"), setting, zNodes);
console.log(zNodes);
treeObj.expandAll(true);
which god will take a look at it for me
check box for ztree:
my code:
var treeObj = $.fn.zTree.init($("-sharptreeDemo"), setting, zNodes);
console.log(zNodes);
treeObj.expandAll(true);
which god will take a look at it for me
as far as I know, this is not the same meaning, is it? Your last line of code is to expand the node, right?
as to whether a node is selected by default, you need to print the tree you got from the foreground on the console and look at it.
did you set the setting.check.chkboxType property.
<template> <div class="wrapper"> <pop-nav :nav-list="navList">< pop-nav> <pop-title>{{$t("store.shopCategory.title")}}< pop-title> <div class="btn-group...
only there is a selection box in front of the file. There is no in front of the folder....
The official document of ztree only gives a collection of canceled or selected nodes of all nodes. Now I just want to get the id and status of the node of the currently selected item. What can I do? Code: function zTreeOnCheck(event, treeId, t...
there is such a requirement: as shown in the following figure. Considering the large amount of data, the back end gives two interfaces. The first interface: to enter the page is to return all the root directories (an array, implemented), which is a reque...