I'm trying to check a box programmatically.
tried
nodes = $( this.treeIDMap.igTree( "findNodesByText", txt ) ); this.treeIDMap.igTree( "toggleCheckstate", nodes[0] )
and
nodes = $( this.treeIDMap.igTree( "findNodesByText", txt ) ); this.treeIDMap.igTree( "toggleCheckstate", nodes )
but something is wrong with my node.
Hello,
I am glad you found a solution.
Please let me know if you have additional questions regarding this topic!
ok this worked.
nodes = $( this.treeIDMap.igTree( "findNodesByText", txt ) ); this.treeIDMap.igTree( "toggleCheckstate", nodes[0].element )