Hi guys,
I'm looking for setting the focus on a node of an APEX tree when I enter the node value into a text field: I have made a lot of searches into the web and I found a solution for JS tree, but I'm wondering if there is an equivalent one for APEX tree.
The Java Script code that I've found for JS tree is the following one ( to be put into a dynamic action linked to the text field for the OnChange event ):
var l$Tree = $("#mytree_static_id div.tree");
var l$Node = $("#"+$(this.triggeringElement).data("node-id"));
apex.jQuery.tree.reference(l$Tree).select_branch(l$Node);
$('html, body').animate({
scrollTop: l$Node.offset().top
}, 2000);
Can give me any suggestion or example?
Thanks awfully on advance.
Best regards
Carlo TIMOSSI