Hello
In Javascript, how should I programmatically click the plus or minus button in a node, in order to programmatically raise the nodeexpand event, or the nodecollapse event. Obviously, calling .expand() on the node object does not raise the event. Would it be something similar to this example (which is in another forum post elsewhere, about programmatically selecting a node):
var item = $(mytreeid).find(".t-input[name='itemValue'][value='5']").closest("div");
item.find(".t-in:first").trigger("click");
Presumably the second line would be different, in order to click the expand node, but what should it be? I just can't work it out!
Thanks if you can help with this one.
Regards
In Javascript, how should I programmatically click the plus or minus button in a node, in order to programmatically raise the nodeexpand event, or the nodecollapse event. Obviously, calling .expand() on the node object does not raise the event. Would it be something similar to this example (which is in another forum post elsewhere, about programmatically selecting a node):
var item = $(mytreeid).find(".t-input[name='itemValue'][value='5']").closest("div");
item.find(".t-in:first").trigger("click");
Presumably the second line would be different, in order to click the expand node, but what should it be? I just can't work it out!
Thanks if you can help with this one.
Regards