Press "Enter" to skip to content

Tag: tree

Add Checkbox Selection to APEX Tree Region

Hopefully you have already converted to the APEX Tree implementation. This is important because the deprecated jsTree implementation will be removed in the next release of APEX so that we can update jQuery and Oracle JET libraries to the latest versions. Some people are still using the jsTree implementation because they have custom code to do things such as checkbox selection. Questions about how to do this and other things with the APEX Tree have come up many times on the APEX forums.

This article will describe how to add multiple selection with checkboxes to the APEX tree region. You can try it out here. You can also download the app. It is a 5.1.1 app but this technique should work in 5.0 as well.

2 Comments

APEX 5.0 Converting to the new APEX Tree

Today I’ll show step by step how to convert from the old APEX tree region, which used the third party jsTree library, to the new APEX 5.0 tree implementation. As I previously mentioned the tree region now uses the same JavaScript tree view widget that is used in Page Designer by default. But if you have an old application that is using the tree region it will continue to use the old jsTree region after upgrading to 5.0.

The reason that the tree region couldn’t be automatically switched to the new tree during upgrade is because of differences in how the implementations use icons/images and complex ways in which customers have customized it with JavaScript by calling jsTree APIs.

3 Comments