# Is it possible to access rowIndex from the outside of a table during sort

**URL:** <https://forum.inductiveautomation.com/t/is-it-possible-to-access-rowindex-from-the-outside-of-a-table-during-sort/107986>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [July 1, 2025, 1:00pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-access-rowindex-from-the-outside-of-a-table-during-sort/107986 "2025-07-01T13:00:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt.chaffin12](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@matt.chaffin12](https://forum.inductiveautomation.com/u/matt.chaffin12)\
**Post date:** [July 1, 2025, 1:00pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-access-rowindex-from-the-outside-of-a-table-during-sort/107986/1 "2025-07-01T13:00:47Z")

</div>

I am building a spreadsheet style application where the user can use arrow keys or tab to move the table selection around similar to an excel spreadsheet. My issue is whenever I activate the sort feature for a specific column, it places the rows in a different order, but the row indexes are still the same. For my arrow keys to work during sort, I would need to access the rows visual index instead of the given property indexes. Alternatively, I tried to find a property or event that allowed me to track when a sort is active, but I can't seem to find that either. I was wondering if there was any mechanism in place to either grab the Row Index values to change the way my arrow keys work, or to track when a sort is active and so I could disable the controls situationally.
