Enhance your Oracle APEX applications with a dynamic selection tree featuring checkbox functionality. This repository provides JavaScript classes for both the tree and nodes, along with a CSS file for visual enhancements. Follow the steps below to seamlessly integrate the dynamic selection tree into your Oracle APEX workspace.
-
Clone the repository:
git clone https://github.com/AtaCanYmc/oracle-apex-selection-tree.git
-
Include the JavaScript and CSS files in your workspace.
<script src="path/to/SelectionTree.js"></script> <script src="path/to/Node.js"></script> <link rel="stylesheet" type="text/css" href="path/to/selection-tree.css">
-
Customize the tree and node classes according to your requirements.
-
Utilize the dynamic selection tree in your Oracle APEX pages.
// Create a new instance of the SelectiveTree class
var myTree = new SelectiveTree(
staticId="myTree_static_id",
childSelection=false,
selectIcon="fa-check-square-o",
unselectIcon="fa-square-o");
// Expand all nodes for better view
myTree.expandAll();
// Synchronization of DB and UI
MyTree.setDefaultSelections();
Feel free to customize the JavaScript classes and CSS file to match your application's design and requirements. The provided classes serve as a foundation, and you can adapt them to suit the specific needs and styling preferences of your Oracle APEX project.
This project is licensed under the MIT License - see the LICENSE file for details. The MIT License is a permissive open-source license that allows you to use, modify, and distribute the code with very few restrictions. For more information, refer to the MIT License documentation.
Special thanks to the Oracle APEX development community for inspiration and collaboration. Your collective efforts contribute to the growth and innovation of Oracle APEX, and this project is a testament to the collaborative spirit within the community. If you have any feedback, suggestions, or improvements, feel free to contribute!