How to get row index of interactive table in variable?

how to get row index of interactive table in variable?

hello @suvarnap, thanks for posting!! is the ID on your Table sequential?? if so, something like this could work well:

let me know if this helps!!

hello gio,
In this case which you have given row index is your variable.
I want Row index of interactive table control, not this which you have given

understood @suvarnap, thanks for clarifying!!

do you have the Row Index as a field in your Table?? if not, you could add it as an Integer Field and then you can access it like this.
Table with index Field:

Trigger on Row Selected: