cancel
Showing results for 
Search instead for 
Did you mean: 

Personas: How can it be determined whether a row in a table is selected?

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Let's assume we are working with a transaction that displays a table control. Think of the sales order change, sales tab, item overview. The user can select multiple rows from this table by clicking on the selection field for each row. I would like to determine whether a particular row is selected or not.

I can use the Copy Table script command, then in JavaScript I can access any row and named column of the table. Trouble is, the first named column has the index 0, and that is not the selection column. It is the item number. So in other words, args.table[0][1] doesn't refer to the selection column of the first table row. I cannot go below column index 0...

How can I figure out if a given row is selected? I may be missing something obvious here, but don't know how to do this.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Tamas,


Can you discuss little bit of your use case here. Might help us understand more.

Like the step after user has selected row(s), etc , etc...

Sushant