✨Simplify Your APEX UI with a Three-Dot (Kebab) Menu

🚩Introduction 

  • In modern Oracle APEX applications, keeping the interface clean and easy to use is very important. One useful feature is the three-dot button (⋮), which opens a popup menu and allows users to access multiple options in one place.

  • Instead of displaying many action buttons on the screen, users can simply click the three-dot button to view additional options in a popup menu. This helps keep the page neat, improves usability, and provides quick access to important actions.

📑 Why This Approach Is Needed

In Oracle APEX applications, users often need quick access to actions or options without going through multiple menus or screens. Displaying too many options directly on the page can make the interface look crowded and difficult to use.

Using a three-dot popup menu becomes useful when:

  • Users need quick access to multiple actions from a single button
  • The page should stay clean and well organized

  • Users should be able to find options without too much navigation

  • Applications need to provide a better and faster user experience

  • A simple and easy-to-use interface is important

This approach keeps the page clean and organized, reduces user effort, and provides a smoother and more user-friendly experience while keeping the implementation simple in Oracle APEX.

👉 Use Case: Creating a Three-Dot Button Menu with Popup in Oracle APEX

In Oracle APEX, users often need quick access to multiple actions without making the page look crowded. A three-dot button (⋮) can be used to open a popup menu that contains different options or actions, making it easier for users to interact with the application.

In this blog, we will see how to implement this feature in Oracle APEX. With a single click, users can open a popup menu and access different actions easily. This helps keep the interface clean, improves usability, and provides a smooth and user-friendly experience.

Step 1: 

First we need to create one List for our usecase, to do so, in the App Builder, navigate to the shared components and under the Navigation and Seach section, click on the lists option, it will open the list creation page.

 Step 2: 

In that page, click on the create button, to create new list. It will open a new popup window, enter the list name and select the list type either static / dyanamic based on your requirement, we are going to give list name as Menu_List and type as static and click next button.


Step 3: 

You will see one more popup window for entering the list entries and the target url page and click on the next button and click create list button.


Step 4: 

Now the List will be created and you can add new entry or modify the existing one based on your requirement.

Step 5: 

Now, in the page builder, create one region and select the type as List and under the Source attribute select the List which we created in the previous step.

Step 6: 

Under the appearance section select the Blank with Attributes from the Template property and give the the static id RG_MENU in the static id property in the advanced section.


Step 7: 

Now click on the Attributes tab in the top right corner and under the Appearance section, select the list template as Menu Popup.

Step 8: 

Next, create one region of type static content and create one button under that region. Name the button and select the slot position to copy. Under the Appearance section, select the button template as ICON and enter the icon as fa-ellipsis-v.

Step 9: 

Under the Behaviour section, select the action as Defined by Dynamic Action and under the Advanced section, in the custom attributes copy the following : 
                           
                                                 data-menu = "RG_MENU_menu"


Step 10: 

Now save and run the page, you will see the region with the button, on clicking on that button, a popup will be shown with the created list entries.




🔥 Conclusion

Thus, in Oracle APEX, using a three-dot (⋮) menu is a simple way to keep the page clean and easy to use. Instead of showing many buttons, users can click the menu to see more options. This makes the page look neat, saves space, and helps users quickly find what they need while keeping the application easy to use.


Comments

Popular posts from this blog

🔍 Extending Smart Search Filter for Multiple Regions

💡 Designing Dynamic QuickPicks in Oracle APEX

📌Track Active Tab switch in Region Display Selector without any plugins