Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
840
WebdataTree Scroll To Checked Node
posted

Hi,

 

Can anyone let me know how to scroll to checked node in webdatatree which is checked from code behind. as user will not able to know whether it is checked or not.

So, if we scroll to the checked node automatically it will be identified by user.

 

Thanks in Advance.

Parents
No Data
Reply
  • 37874
    Verified Answer
    posted

    Hi Anil,

    You can do this in the Initialize client-side event of WebDataTree, for example:

    function InitTree(sender, eventArgs) {

        var checkedNode = sender.get_checkedNodes()[0];

        var treeElement = sender.get_element();

        sender._scrollToNode(checkedNode, treeElement);

    }

    Feel free to contact me if you have any questions.

Children