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!

classic report - get cell value when clicked

OraDev16Jun 3 2020 — edited Jun 3 2020

Hello,

In APEX 4.2,I've a page item named P5_SELECTED_ROLL_NUMBERS and a classic report with the following columns -

(1) Roll Number (2) Name (3) Age

Requirement : User can select one or multiple students. Selected roll numbers will get stored in the page item P5_SELECTED_ROLL_NUMBERS as a comma separated string.

So far wrote a dynamic action -

Event : click

Selection Type : jQuery Selector

jQuery Selector : #students td[headers="ROLL_NUMBER"]

true Action : Execute javaScript Code

$(document).ready(function() {

//var rid = $(this.triggeringElement).val();

var rid = this.triggeringElement.val;

console.log('Selected Roll Number : ' + rid);

});

Isuue : Yet to pick up the selected roll numbers.

Thank you.

Comments
Post Details
Added on Jun 3 2020
7 comments
4,469 views