# How to get row index of interactive table in variable?

**URL:** <https://community.tulip.co/t/how-to-get-row-index-of-interactive-table-in-variable/2517>\
**Category:** Support, Troubleshooting, & Help\
**Created:** [April 21, 2021, 9:04am UTC](https://community.tulip.co/t/how-to-get-row-index-of-interactive-table-in-variable/2517 "2021-04-21T09:04:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suvarnap](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@suvarnap](https://community.tulip.co/u/suvarnap)\
**Post date:** [April 21, 2021, 9:04am UTC](https://community.tulip.co/t/how-to-get-row-index-of-interactive-table-in-variable/2517/1 "2021-04-21T09:04:37Z")

</div>

how to get row index of interactive table in variable?

---

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [April 21, 2021, 5:07pm UTC](https://community.tulip.co/t/how-to-get-row-index-of-interactive-table-in-variable/2517/2 "2021-04-21T17:07:51Z")

</div>

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

 ![Screen Shot 4](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/f/fcb5329b0eb54659234085c2d5ff8a29987b6edc.jpeg)

let me know if this helps!!

---

<div class="post-metadata">

**Author:** ![suvarnap](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@suvarnap](https://community.tulip.co/u/suvarnap)\
**Post date:** [April 22, 2021, 9:38am UTC](https://community.tulip.co/t/how-to-get-row-index-of-interactive-table-in-variable/2517/3 "2021-04-22T09:38:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [April 22, 2021, 12:41pm UTC](https://community.tulip.co/t/how-to-get-row-index-of-interactive-table-in-variable/2517/4 "2021-04-22T12:41:04Z")

</div>

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:

 ![Screen Shot](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/6/6ffe5ec3ea23f3d0bcfcd7b053462487f6ca32b2.jpeg)

Trigger on Row Selected:

 ![Screen Shot 3](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/a/a3153f08f9cb3321b6801b3c858b824a6186f208.jpeg)
