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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Tree view : Missing '+' on top level nodes

DenverScottMay 8 2014 — edited Jul 16 2014

Version : 4.2.0.00.27

Good Morning -

Hopefully this is an easy question ... I've been searching around but cannot find the solution.

     Tree Template : Classic

     Using setting Activate Node Link with : "Single Click"

I have a tree view with active links on the nodes.  When you single click on a node, the link is followed as desired.  When you double click on a node, the node branch is expanded (as desired) but the link is ALSO followed (not desired).

It would be really nice if there was a expand / collapse symbol for each node on the tree, at all levels.  In CLASSIC view, I get this symbol for child nodes of the parent branch, but the parent branch has nothing.  I can find no way to expand / collapse top level nodes without double click.

Is there a template setting? 

Thanks,

Scott

This post has been answered by Tom Petrus on Jul 10 2014
Jump to Answer

Comments

Pete Mahon

Bump! Just started working with trees and I've realised the same.

APEX Dev team - what version of jsTree is shipping with APEX 5? Are there improvements planned?

Tom Petrus
Answer

the node expanding missing is caused by some CSS and can be fixed with this:

body .tree > .ltr > li {

  display: block;

}

In apex 5, at least EA2, the tree component is still vastly outdated at version 0.9.9a2. I've a plugin which brings jstree 1.0.0 to apex at my github. It is very much functional but might still need some minor features. My demo page is still rudimental but it all works. jstree version 3 has been released in the mean time, and once I'm satisfied with what I have now I'd like to upgrade to v3. https://github.com/tompetrus/oracle-apex-ajax-tree I however consider the strength of the tree to be the javascript side, and many implementations in the tree are to be done with javascript. I'm not considering coding in much more than what I have at the moment.

Marked as Answer by DenverScott · Sep 27 2020
Pete Mahon

Perfect - this makes a big difference thank you Tom.

I'm still baffled that jstree has not been updated. A more interactive hierarchy functionality would increase APEX's value as a corporate tool for navigating people hierarchies, if nothing else. This opens up a wealth of possibilities in terms of applications.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 13 2014
Added on May 8 2014
3 comments
1,027 views