Hi,
I need to remove all child nodes for the selected node. (or from a provided node path). The methods removeAt and removeNodesByValue do not serve this need.
We are using 20132.2364 version of infragistics controls.
Thanks,
Kiran
Hello Kiran,
Thank you for contacting Infragistics!
I have done some looking into this matter and have the following information. There isn’t a method to remove all the children of a node. What you can do is use the children method which will give you all the direct children of the node you pass in. You can use what is returned and loop through it to remove all the nodes:
http://help.infragistics.com/jQuery/2014.2/ui.igtree#methods:children
Note that removeAt will remove all the children of the node specified so you will not have to loop to find any nodes the child nodes might have.
Please let me know if you have any further questions concerning this matter.
Hello Mike, Thanks for the workaround provided.