I've adapted some earlier form code for a client side search using the latest 2010.1 code.
The tree correctly selects the appropriate node, but does not scroll that node into view.
How can I scroll the selected node into focus?
Best regards,
Paul
Hello Paul,
You can scroll the selected node into focus by calling the scrollIntoView javascript function for the element of the node:
tree.get_selectedNodes()[0].get_element().scrollIntoView();
Regards,
Lyuba Petrova
Developer Support Engineer
Infragistics
www.infragistics.com/support
I need to do a similar thing, but I really want to do this from the server side. I am converting a ultrawebtree to a webdatatree and need to have an equivilent command for:
wdtDept.ScrollNodeIntoView(findNode)
where findNode is the node located within the tree.
I would appreciate any help on this...
Thanks,
Joel WZ