Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apex 5 APEX tree object

3357693Feb 1 2017 — edited Mar 28 2017

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2017
Added on Feb 1 2017
13 comments
2,751 views