Friday, October 08, 2010

APEX 4.0 Tree

In APEX 4.0 there's a new Tree Region. It's really cool and a lot better than the previous tree in APEX 3.x.

When you navigate throughout this tree there is no submit anymore, it also looks a lot better.

The only catch is that the query is not that straight forward.
If you look under the query, you'll see the explanation what columns the query should have etc. Be careful as the example under need is missing the level column!

Anyway, check out the tree, it's definitely something that people seem to like.

4 comments:

Louis-Guillaume Carrier-B├ędard said...

Hi Dimitri,

If you look under the hood, you'll see that the tree is generated using an old version of jsTree (v0.9.9a2).

Before adding new functionalities like drag and drop, it's a good idea to consider using the latest version of jsTree (v1.0rc2). By looking at the "changelog", we learn that there was a complete rewrite of the code. We can't just replace the older files used by APEX with the new ones.

After talking to Patrick Wolf, I decided to build a plug-in region for my AJAX Tree.

Niels de Bruijn said...

I would really welcome a region plugin using the latest version of jstree, so we can enhance it as we like to.
Keep up the good work!

Anthony Rayner said...

Hi Dimitri,

Thanks for pointing out the documentation error, I filed bug #10189438 for this issue.

Regards,
Anthony

Hilary Farrell said...

Hi Louis-Guillaume,

In reference to the version of jsTree incorporated into APEX 4.0, version v1.0rc2 of jsTree was not available at the time of the Tree region being integrated into the release. However, hopefully in a future release fo APEX we'll be able to integrate the latest version of jsTree.

Regards,
Hilary