How can you do this? I inspected the elements and no click even exists, is it in a class?
Tried this
var node = $(this.tree.getUIDiv().igTree( "findNodesByText", Xnorm ) ); node[0].element.addClass( 'ui-state-highlight' ); node.trigger('click'); node[0].trigger('click'); node[0].element.trigger('click');
Is this possible?
update: looks like no click event is there but I do see a redirect link to #, _self. I know that is used for refreshes and what not. Is there a way to simulate that?
Hi there,
You can simulate click by clicking the node anchor:
node[0].element.children('a').click();
If your intention is to select the node then you can just call the select API method providing the node element.
Let me know if this helps!
that helped thx