Hi,
The treeview sctructure I am using in my project is like given below
Node1
childnode11
childnode12
Node2
childnode21
childnode22
all the nodes have check boxes. My requirement is when ever the child node is checked I have to check (select) the parent node also in client side.but when i check the "childnode11" the function node.get_parent() returns me an instance of the treeview as "Node1" is the root node. so when i try to set something like node.get_parent().check() it gives me a java script error saying "check is not a function"
Can you please let me know how to find an instance of parent node which is also a root node and select/unslect it using the client side functions.
Thanks!
The treeview sctructure I am using in my project is like given below
Node1
childnode11
childnode12
Node2
childnode21
childnode22
all the nodes have check boxes. My requirement is when ever the child node is checked I have to check (select) the parent node also in client side.but when i check the "childnode11" the function node.get_parent() returns me an instance of the treeview as "Node1" is the root node. so when i try to set something like node.get_parent().check() it gives me a java script error saying "check is not a function"
Can you please let me know how to find an instance of parent node which is also a root node and select/unslect it using the client side functions.
Thanks!