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
845
igTree nodeClick in javascript
posted

Hello,

I have an igTree on a view, which is loaded from a database. I have not set the naviation URL for the node up front, but would like to bind to the "igtreenodeclick" event in javascript, and navigate based on the nodes valueKey.

Is this possible, and how do you do it?

Thanks

Deon

 

Parents
No Data
Reply
  • 845
    Verified Answer
    posted

    I found the answer - the "igtreenodeclick" event is bound has "ui" as a parameter, and the node's key is accessible using ui.node.data.[your value key name].

Children
No Data