Skip to Main Content
Feature Request FR-2114
Product Area Page Components
Status ROADMAP

41 Voters

Tree with Checkbox to help with complex pages

alejandro.suarez Internal
· Oct 22 2021

Idea Summary
I would like to create a Tree view and have the capability of selecting with a checkbox each element.
It would act like a mix between tree and checkbox, as it would be great to be able to store all selected element ids in one item.

Use Case
complex selectors

Preferred Solution (Optional)
an option on the tree view or an option on the checkbox item to have the elements listed as a tree.

This is currently on the roadmap for a future release of Oracle APEX.

Comments

Comments

  • john.snyders APEX Team OP 3.6 years ago

    I agree this should be declarative.

    There are currently options you can enter in tree region JavaScript Initialization Code to do this. See

    https://docs.oracle.com/en/database/oracle/application-express/21.1/aexjs/treeView.html#nodeSelector

    and also option multiple.

    Also note there are 2 ways of handling multiple selection in trees. 1) independent selection, 2) hierarchy selection (where all the decedents are also [un]selected). The tree widget currently only supports option (1). We should support both options.

  • alejandro.suarez OP 3.6 years ago

    Hi John, I completely agree with you. I tried the multiple option with the javascript initialisation and it looks very nice, but the functionality in not in there. There is no “easy” way to get the selected values and there is also the issue of defining where the click would trigger a link or the checkbox.
    I really hope this becomes a declarative option in either the tree or the checkbox as it would make hierarchy selectors really interesting.

  • shelly.simpson OP 2.4 years ago

    Adding on to this suggestion, the ability to automatically select all page items of the same type (for example, select all Date items).  This would be helpful for pages with a lot of items, when you need to make the same change to all the like items.