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