cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the index of a row containing a checkbox in a Table.

0 Kudos

Hi,

In the layout of my Adobe Interactive form, there is a Table whose first column contains a checkbox and from the second column onwards, data from some internal table will be shown. The number of rows in the Table is not fixed, it is decided during runtime (based on the internal table's data). My requirement is, when the user will check a checkbox, the row index of the checkbox checked needs to be captured in the "click" event handler. I am using Javascript as the Form's language. How will I capture the selected checkbox's index using Javascript? Please suggest. Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi,

The problem is solved. I used "this.parent.index".

Former Member
0 Kudos

hi

did u findout using sy-index?because it generally captures required row.

in reports u can get the row that is selected using the events in the class. but here u dont write any alv's so try using sy-index.