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
20
Single and Double Click events in the Webtree
posted

 Can anyone help me out with how we can set the controls for a single and double click eventson the nodes of the webtree. I want a single click to select the node and a double click to goto another page. Your hel will be gratly appreciated...

Parents
No Data
Reply
  • 633
    posted

    There is no node double click event for the tree. So there is no "out of the box" solution.

     

    However what i did was to handle the single click event and store the last click time. If the event is raised within a particular time interval i interpret it as a double click. Be warned thoug, this will wreak havoc with the node edit feature. If you want to use that as well, you will have to play around with the infra js files. That can get a llittle complex.

     

    Hope this helps.

    Ahmad

     

     

     

Children