cancel
Showing results for 
Search instead for 
Did you mean: 

Getting list of selected Rows of a Table

govardan_raj
Contributor
0 Kudos

Hi Experts,

Im having a table with 500 elements, among them i select few of them to process, for exmpl consider my table has 500 rows , where each row represents a Invoice Payment, among them only few i select and process those or reject those.

Now my problem is here when i select 1 Inv payment  or 100 Inv Payments or 50 Inv Payments , i have to iterate throught the table node using for() loop to take the selected ones for processing, i.e i have to iterate 500 times, instead is there any single function that can give me only the list of selected elements, so iteration of 500 elements is avoided. So that performance is increased.

Regards

Govardan Raj S

Accepted Solutions (1)

Accepted Solutions (1)

kg2020
Explorer
0 Kudos

What you can do is use the onSelect event (fired when you click and select a row) to copy the row into another context node which is the same as your table context node. When you have selected all the records you want to process, then use the table which you copied the selected records to instead of the one which has 500 entries. Make sense?

Kunal

govardan_raj
Contributor
0 Kudos

Hi kunal ,

Thanks for your reply yes in that way .. it saves time when user selects only one transaction , it is use ful in this way.

Regards

Govardan Raj

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

i don't that will save u too much time.....