Reputation: 12480
In Oracle APEX, I figured out how to add a button into the APEX table. Here is my table so far, and the extra column has a link "Sample Link Text" .
It is by adding this code :
<button class="t-Button " id="#edit_link#"
onclick="showRow(#edit_link#);" type="button"><span class="t-Button-label"> + </span></button>
However, I'm stuck on the task of causing the button click to delete the current row. How do I link the button to an action (like delete or update)?
thanks
Upvotes: 1
Views: 8532
Reputation: 1
Also Please check if the Delete check box is selected in process. Property Screen Shot
Upvotes: 0
Reputation: 897
If you have a created that Apex table as a tabular form, I believe that there's a default delete button that comes with it but if there's none, here's how to create a delete button:
Under the region of your table, create a button. Then set it's "Action" property to "Redirect to URL". Set it's target URL to this javascript:apex.confirm(htmldb_delete_message,'MULTI_ROW_DELETE');
Then Save.
Upvotes: 2