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!

Wits End with Highlighting Clicked Row in IRR

Joseph Upshaw4 days ago

Oracle APEX 23.1.0

I have tried numerous approaches to simply highlight the clicked row in an Interactive Report Region. Despite being certain that my JQuery selector is correct, no matter what I do, I can not seem to get APEX to react to the Clicked event.

I've created this CSS Class:

.row-selected {
   background-color: lightgray;
}

I've assigned static ID MY_UPLOADED_FILES_IRR to the Interactive Report Region.

I've added a Dynamic Action based on Click of this JQuery selector:

#MY_UPLOADED_FILES_IRR table tbody tr

The DA True action is Execute JavaScript Code with the following snippet:

// remove previous selected row highlight
$("#staticID table tbody tr").removeClass("row-selected");

// add highlight to selected row
$(this.triggeringElement).addClass("row-selected");

From the console, I can confirm that the selector is good:

$('#MY_UPLOADED_FILES_IRR table tbody tr').length
10

Nonetheless, the clicked event is never triggered for this selector (I can stick an alert or console.log call in the JavaScript and it never fires).

This post has been answered by Karel Ekema on Aug 28 2025
Jump to Answer
Comments
Post Details
Added 4 days ago
6 comments
105 views