# Set focus in perspective table on specific row

**URL:** <https://forum.inductiveautomation.com/t/set-focus-in-perspective-table-on-specific-row/93738>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [July 25, 2024, 12:49pm UTC](https://forum.inductiveautomation.com/t/set-focus-in-perspective-table-on-specific-row/93738 "2024-07-25T12:49:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [July 25, 2024, 12:49pm UTC](https://forum.inductiveautomation.com/t/set-focus-in-perspective-table-on-specific-row/93738/1 "2024-07-25T12:49:04Z")

</div>

Good morning,

I want to set the focus on a specific row in a perspective table.

For example I have a table where I can see the first 5 rows (20 in total). I'm able with a script to retrieve the number of the row that I need to see, so maybe the numero 17.

I try with `props.selection.data` without success.

How can I scroll automatically to the 15th?

Thank you

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 25, 2024, 12:51pm UTC](https://forum.inductiveautomation.com/t/set-focus-in-perspective-table-on-specific-row/93738/2 "2024-07-25T12:51:11Z")

</div>

There are no built-in methods to do this.

You could use the general filter or the column filters and use a script to set the filter value, but it will hide all the other rows.

---

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [July 25, 2024, 1:38pm UTC](https://forum.inductiveautomation.com/t/set-focus-in-perspective-table-on-specific-row/93738/3 "2024-07-25T13:38:41Z")

</div>

Ok thank you for the answer, I'll see what should be the best option.
