Skip to Main Content
Feature Request FR-4143
Product Area Page Components
Status OPEN

36 Voters

Button as a Column Type in Interactive Grids that execute an action.

radwan.salamehh Public
· Dec 10 2024

Idea Summary
Enhance the functionality and usability of Oracle APEX Interactive Grids by introducing a new column type: Button. This column type would allow developers to add a button directly in the grid, enabling users to execute defined actions with a single click.

Use Case
Customizable Actions: Developers can define custom PL/SQL or JavaScript actions triggered by the button, offering flexibility for a wide range of use cases.

Preferred Solution (Optional)
Dynamic Label and Styling:

  • Provide support for setting the button label and styling dynamically based on row data or user conditions.
  • Enable integration with theme styles to ensure consistency with the application's design.

Security and Access Control:

  • Integrate security features such as authorization checks to control button visibility or action execution based on user roles.
This idea is open.

Comments

Comments

  • georges.gergess15 OP 5 months ago

    Yes, it's a good idea even though you can add html (button,span,link…) in html expression column type and create JavaScript functions or custom dynamic actions.

    But adding this as a feature in interactive grid or interactive report where you can directly right click and assign dynamic action to the button, will be faster and more maintainable.

  • jacobhofer1 OP 4 months ago

    Often we use the Link column type, with custom styling in the Link Attributes field, that links to the same page and sets certain hidden variables. Styling the button is quite tedious then, since the attributes field tends to look something like: class="t-Button t-Button--simple t-Button--hot request-key-btn"

    The proposed dedicated Button column type for all styles of report would be incredibly useful!

  • marcelo osorio k OP 2 months ago

    We should not see comment “you can do with HTML and js” since we are talking about low code and those kind of behavior is commonly being used.

  • karel ekema OP 4 days ago

    Meanwhile, for those interested, this plugin enables an IG Button Column. With support for conditional enabling and for column substitution in button label/class. Attach a DA on click, or an action from the APEX action framework.

    Example page here.

  • radwan.salamehh OP 4 days ago

    @karel ekema thank you !!!

  • georges.gergess15 OP 4 days ago

    @karel ekema Thank you , but we need something for apex version 23.2.

    If you can make it compatible with other versions it will be nice.