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!

Set an item value with JS from table with multiselect

A_ce1Jun 22 2022

I have a IG with DA with javascript code

var i, selectedIds = "",
model = this.data.model;
for ( i = 0; i < this.data.selectedRecords.length; i++ ) {
selectedIds += model.getValue( this.data.selectedRecords[i], "DECA");
}
$s("P134_NR", selectedIds);
It works perfectly for IGs without the multiselect option checked. How to modify the code I paste to set an item value with the latest checked row?

Comments
Post Details
Added on Jun 22 2022
1 comment
389 views