# Perspective Table Select Row

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-select-row/39829>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 20, 2020, 10:04am UTC](https://forum.inductiveautomation.com/t/perspective-table-select-row/39829 "2020-10-20T10:04:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [October 20, 2020, 10:04am UTC](https://forum.inductiveautomation.com/t/perspective-table-select-row/39829/1 "2020-10-20T10:04:06Z")

</div>

Hi all.

Using the perspective table, I’ve noticed that unless the user has already clicked a row inside the table themselves, I cannot select a row for them through changing the selectedRow parameter.

In this GIF you can see first a row has been selected by a user, then I can change the selected row by changing that parameter. Once that parameter goes to none/null (this might happen manually, or when new data is loaded), I can no longer select a row with that parameter.

[https://p-62a01d.f4.n0.cdn.getcloudapp.com/items/2NujPyRX/Screen%20Recording%202020-10-20%20at%2011.58.52%20AM.gif?source=social&v=5782ddf7af50829187c716112177b310(image larger than 3072KB)](https://p-62a01d.f4.n0.cdn.getcloudapp.com/items/2NujPyRX/Screen%20Recording%202020-10-20%20at%2011.58.52%20AM.gif?source=social&v=5782ddf7af50829187c716112177b310)

---

<div class="post-metadata">

**Author:** ![tohhy-pm17](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tohhy-pm17](https://forum.inductiveautomation.com/u/tohhy-pm17)\
**Post date:** [March 31, 2021, 1:29am UTC](https://forum.inductiveautomation.com/t/perspective-table-select-row/39829/2 "2021-03-31T01:29:59Z")

</div>

Bro, can you please show how the code is done. Thanks in advance

---

<div class="post-metadata">

**Author:** ![mcarritt1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mcarritt1/32/4262_2.png) [@mcarritt1](https://forum.inductiveautomation.com/u/mcarritt1)\
**Post date:** [March 31, 2021, 1:23pm UTC](https://forum.inductiveautomation.com/t/perspective-table-select-row/39829/3 "2021-03-31T13:23:35Z")

</div>

In this example there is no code, just a number input component with its value bound bidirectionally to the selectedRow property of a table.

---

<div class="post-metadata">

**Author:** ![iavor.karakashev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/iavor.karakashev/32/70482_2.png) [@iavor.karakashev](https://forum.inductiveautomation.com/u/iavor.karakashev)\
**Post date:** [May 17, 2023, 1:51pm UTC](https://forum.inductiveautomation.com/t/perspective-table-select-row/39829/4 "2023-05-17T13:51:42Z")

</div>

In order to make a selection you need to set the selectedColumn property after you set the row number. Note that it is the string name of the column not the index.
