Hello together,
I have a question / challenge about the sort order with the following code. My challenge is that I want the IDs in the particualar order how I selected them. When I work with the following code, implemented in a dynamic action, which reacts on the event selection change of an ig, each time the order is changing the IDs to an asecending order.
It would be nice if there is an solution. I am glad to hear from you.
Greetings,
Simon
Oracle APEX Version: 23.2
var i, i_activity_id = "",
model = this.data.model;
for ( i = 0; i < this.data.selectedRecords.length; i++ ) {
i_activity_id += model.getValue( this.data.selectedRecords[i], "ACTIVITY_ID") + ":";
}
i_activity_id= i_activity_id.slice(0, -1);
apex.item( "P2100_SELC_RW_IG_NON_MMA_ACT").setValue (i_activity_id);