Dear Team,
I am selecting the node in bottom of the tree on button click, i want to show the selected node by scrolling to that node.
Some thing like VirtualScrollTo in igGrid.
Please guide how to do this
Regards,
Bala
Hello Bala R,
Thank you for contacting Infragistics!
We received your support request concerning scrolling to the node in the bottom of a tree, and I have been assigned to assist you. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of the functionality you described and I will be researching this behavior further for you. I will get back to you by the end of the day tomorrow with more information or questions for you. In the meantime, please do not hesitate to contact me with more questions.
I have found a way for you to achieve the functionality you were describing. You can see this in the sample which I have attached. In order to select a node and move to it, my sample first allows you to choose a node based on which parent and which child of that parent you want to select in the inputs. Once this is done, you can click on the Scroll button which will take you to the child you selected. To do this, I used the nodeByPath method to get a reference to the node we want to select. From there I called the select method on this node, and then the expandtoNode method. This gives you the behavior you are looking for. Please let me know if you need any clarification, or if I can be of further assistance.