jstree with default cheked attribute and find node by mask -
i integrated jstree site, problem that, have no idea how give jstree node element checked attribute default, jstree - precheck checkboxes not case. data-jstree='{"selected":true}'
working don't want element selected. , 1 more thing, not find anywhere: possible nodes id (even if not selected), or can node id mask? in advance
the latest commit fixes , enables use (i guess need):
<div id="jstree"> <ul> <li data-jstree='{"selected":true}'>root 1</li> <li data-jstree='{"state":{"checked":true}}'>root 1</li> </ul> </div>
you can download latest code here: https://github.com/vakata/jstree/archive/master.zip
Comments
Post a Comment