Closed DevNakul closed 5 years ago
There is already a support for this. "checked": 'checked'
Not working for me.. getting this error:
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 expandNode (simTree.js:1)
at Number.<anonymous> (simTree.js:1)
at Function.each (jquery-3.3.1.min.js:2)
at e.setSelected (simTree.js:1)
at e.doRender (simTree.js:1)
at e.render (simTree.js:1)
.. when I make a hierarchical list. When its a flat list, it works.
Need a way to set default selected values. So that when the tree is loaded, we can set default selection.