sim-tree
sim-tree copied to clipboard
一个操作简单的基于jquery的树展示插件,支持异步展示子节点
 The above screenshot was taken from chrome browser (any chromiuim based). The child node are there and can be selected but they are not visible. This does not apply...
``` jquery-3.3.1.min.js:2 Uncaught Error: Syntax error, unrecognized expression: [data-id=VeeVee Cabs] at Function.oe.error (jquery-3.3.1.min.js:2) at oe.tokenize (jquery-3.3.1.min.js:2) at Function.oe [as find] (jquery-3.3.1.min.js:2) at w.fn.init.find (jquery-3.3.1.min.js:2) at String. (simTree.js:1) at Function.each (jquery-3.3.1.min.js:2)...
Currently, onClick() callback gives every selected node. I wanted to get only the selected node. need to change this line: https://github.com/linjingming/sim-tree/blob/master/src/simTree.js#L342 to `$($tar[0].parentElement).data()` My solution (in the distro):  Maybe...
IE Issue
Hi, In IE, some child nodes are NOT displayed in treeview and it shows white space in UI. However, the node data is available in the HTML. The same data...
Hi, i have question. It is possible use bold for one element on the tree and show only one element bold? Example in id:13: var list = [{ "id": '1',...
i have below structrue var myData = [{ "id": '1', "pid": '', "name": "Root", "disabled": true }, { "id": '1.1', "pid": '1', // parent ID "name": "Level 1" }, {...
here is my code ,and all the child node is expanded. I want to unexpand all the child node? how to do it `` var tree = simTree({ el: '#tree',...
I am using the simtree in salesforce lightning component and noticed one issue. Whenever I select a node and save it, the data gets saved in back-end. However when I...