# Perspective Table Highlight Index

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-highlight-index/98196>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [November 5, 2024, 11:18am UTC](https://forum.inductiveautomation.com/t/perspective-table-highlight-index/98196 "2024-11-05T11:18:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruno.nunes](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@bruno.nunes](https://forum.inductiveautomation.com/u/bruno.nunes)\
**Post date:** [November 5, 2024, 11:18am UTC](https://forum.inductiveautomation.com/t/perspective-table-highlight-index/98196/1 "2024-11-05T11:18:15Z")

</div>

Hello,

This might be a no brainer, but I'm struggling with it.

With a perspective table, is it possible to get the index of the mouse over highlighted row?

For example in this scenario, I wanted to fetch the right table row index when hoovering (row highlighted in red):

 ![Captura de ecrã 2024-11-05 111101](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/2/22588080c0dc390b19af7dd44bfe1735d8545b43.png)

Any ideas?

Thank you.

---

<div class="post-metadata">

**Author:** ![Samuel\_Sueur](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Samuel\_Sueur](https://forum.inductiveautomation.com/u/Samuel_Sueur)\
**Post date:** [November 5, 2024, 12:06pm UTC](https://forum.inductiveautomation.com/t/perspective-table-highlight-index/98196/2 "2024-11-05T12:06:27Z")

</div>

~~It is my understanding this cannot be done without some tricks (JS injection or custom module).~~

~~The only thing you can do is get the **selected** data, not the hovered data. You'd have to at least click on the row.~~

Nevermind, this thread might prove handy:

> [@Ignition-Perspective Table- Mouse Over Value](https://forum.inductiveautomation.com/t/ignition-perspective-table-mouse-over-value/63759/9):
>
> Hey, posted image with test data. Actually condition, we are opening the report based on the SN selection on table, sometimes SN will not fit in the column So, will provide same on tooltip.

---

<div class="post-metadata">

**Author:** ![bruno.nunes](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@bruno.nunes](https://forum.inductiveautomation.com/u/bruno.nunes)\
**Post date:** [November 5, 2024, 2:59pm UTC](https://forum.inductiveautomation.com/t/perspective-table-highlight-index/98196/3 "2024-11-05T14:59:51Z")

</div>

Thank you for the link, but unfortunately is a no go.

I was trying to get around the lack of drag & drop, had almost everything done (highlights, cursor, ...), but I need to know the destination index.

I feel it's a big handicap when you want to use ignition for something a little more complex then visualization or simple table operations.

Again, thank you for the link.

---

<div class="post-metadata">

**Author:** ![bruno.nunes](https://avatars.discourse-cdn.com/v4/letter/b/a5b964/32.png) [@bruno.nunes](https://forum.inductiveautomation.com/u/bruno.nunes)\
**Post date:** [November 8, 2024, 3:52pm UTC](https://forum.inductiveautomation.com/t/perspective-table-highlight-index/98196/4 "2024-11-08T15:52:29Z")

</div>

I'm actually using Victor Declercq [solution](https://forum.inductiveautomation.com/t/dragging-rows-in-perspective-table/68922/8) with very slight modifications, and so far things are looking good.

I'll post an update with the final result, acceptable or not!

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [November 12, 2024, 7:32am UTC](https://forum.inductiveautomation.com/t/perspective-table-highlight-index/98196/5 "2024-11-12T07:32:10Z")

</div>

i didnt see the orginal question, but should be possible, with JS. but seems you already found one of my solution that will suit you better 🙂
