Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IG Inline Button - How to Fire a DA?

Dave OzNov 11 2023

APEX 21.2.9

My goal is to have rows in a report where each row contains a button that will launch a PL/SQL program. I know how to do this with a “normal” region level button and a dynamic action, but I've not figured out the hook to use when the button is defined dynamically for each row.

I have an interactive grid with a column defined in the SQL query as just:

  • select ‘Link’ as mybutton, name from tablexyz…

In APEX, the column mybutton is defined as an HTML expression as follows:

<button class="genStmtButton" type="button" >Generate Statement</button>

This works in that the button displays for every row of the report.

How do I create a DA that fires when the user clicks the button? I've tried a DA on Event "Click", and chosen jQuery Selector of .genStmtButton that on True does an Alert window, but it is not working.

Thanks for any guidance,

David

Comments
Post Details
Added on Nov 11 2023
3 comments
556 views