Forum Stats

  • 3,826,663 Users
  • 2,260,687 Discussions
  • 7,897,044 Comments

Discussions

Interactive grid multi select row

I would like to save the values to items in a comma-separated manner when multiple lines of Ig are selected.


The current specification saves the first and second items in columns 1 and 2 when a single row is selected.


if(this.data.selectedRecords[0] ! =null{


selectedRecord =this.data.selectedRecords[0][0]+

this.data.selectedRecords[0][1];


$s('P1_ITEM',selectedRecord);


The contents of P1_ITEM are 01banaa


What I want to do is to make sure that when I select three rows, the contents of the item 

01banana,02pine,03orange

It will look like this.


This page is similar to what I want to do

https://www.foxinfotech.in/2019/10/oracle-apex-interactive-grid-get-selected-rows-example.html