Hi Guyz,
THanks in advance for replying me.
I want to check the mode of each node using javascript.I mean node is in expanded mode or collapse mode.Please let me know if any one have any idea about it.
Hi majida,
Thank you for posting in the community.
Each node's DOM in the UltraWebTree features a getExpanded() function which would allow you to check if the node is expanded/collapsed. For instance you can check whether the first root node is expanded using:
[code]
igtree_getTreeById("UltraWebTree1").getNodes()[0].getExpanded()
[/code]
Checking if the child node of that root node is expanded would look like:
igtree_getTreeById("UltraWebTree1").getNodes()[0].getChildNodes()[0].getExpanded()
You can find more information regardin UltraWebTree's CSOM at:
http://help.infragistics.com/Doc/ASPNET/2011.1/CLR4.0/?page=WebTree_CSOM_Overview.html
Please note that the UltraWebTree control is now outdated. I would suggest that you consider switching to the new WebDataTree control. You can find illustrative samples demonstrating the features of WebDataTree at:
https://www.infragistics.com/products/aspnet/grids-and-lists/tree-list
Please let me know if this helps.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.https://www.infragistics.com/support
Please do not hesitate to contact me if you need further assistance.