cancel
Showing results for 
Search instead for 
Did you mean: 

How to select first row of a table using Personas 3.0

celo_berger
Active Participant
0 Kudos

Hi all,

I've been searching SCN but can't find anything that has worked so far.

I'm quite new to Personas and Javascript. I'm using Personas 3.0, and I'm trying to select the first row of a table in SE16 via scripting.

I've had no luck so far, so I appreciate any help.

Best regards,

Marcelo

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

e.g. select row 2 and 3 (index start from 0)

session.findById(table_id).selectedRows = "1;2";

celo_berger
Active Participant
0 Kudos

Hi Sushant,

Will the index always be 0, even if I page down once or a couple of times in the table?

What happens if I sort the table, does the index maintain itself at 0?

Appreciate it!

Marcelo