# Perspective Table - having issues setting the row index to nothing

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-having-issues-setting-the-row-index-to-nothing/64866>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [October 5, 2022, 7:32pm UTC](https://forum.inductiveautomation.com/t/perspective-table-having-issues-setting-the-row-index-to-nothing/64866 "2022-10-05T19:32:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [October 5, 2022, 7:32pm UTC](https://forum.inductiveautomation.com/t/perspective-table-having-issues-setting-the-row-index-to-nothing/64866/1 "2022-10-05T19:32:49Z")

</div>

It's set to null in the designer, nothings selected when the table opens up in the workstation. I have a script that does stuff when a row is clicked, but I can't set self.props.selection.selectedRow to None. I can set it to every valid index, I just can't get there to be no selected row after my script does it's thing.

Thanks,

Jake

---

<div class="post-metadata">

**Author:** ![YF129701](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/yf129701/32/60498_2.png) [@YF129701](https://forum.inductiveautomation.com/u/YF129701)\
**Post date:** [October 5, 2022, 7:34pm UTC](https://forum.inductiveautomation.com/t/perspective-table-having-issues-setting-the-row-index-to-nothing/64866/2 "2022-10-05T19:34:48Z")

</div>

The way I've done this in the past is set `props.selectedRow` and `props.selectedColumn` to null or None or an empty string. I can't remember which, but I do remember having to clear both of those properties.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [October 5, 2022, 7:37pm UTC](https://forum.inductiveautomation.com/t/perspective-table-having-issues-setting-the-row-index-to-nothing/64866/3 "2022-10-05T19:37:21Z")

</div>

You're a genius. It used to work with just row, but once I did both the col and row it's working like a charm. Thanks for the fix.
