# \[Feature-2692\]Perspective Table - How to deselect rows (with props.selection.mode = multiple interval)?

**URL:** <https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 3, 2020, 5:20pm UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347 "2020-07-03T17:20:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [July 3, 2020, 5:20pm UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347/1 "2020-07-03T17:20:29Z")

</div>

I can successfully select multiple rows by **Shift + Mouse Click** or **Ctrl + Mouse Click** but I can’t figure out how to deselect a row I’ve selected.

Thanks for reading!

---

<div class="post-metadata">

**Author:** ![peter.dolberg](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@peter.dolberg](https://forum.inductiveautomation.com/u/peter.dolberg)\
**Post date:** [September 10, 2020, 11:49pm UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347/2 "2020-09-10T23:49:32Z")

</div>

I’m having the same problem. The perspective table follows the same Shift-Click and Ctrl-Click conventions that are used elsewhere except Ctrl-Click on a selected row doesn’t deselect it.

This seems to be a bug in the Perspective table.

In my case I’m looking for a way to remove the existing selection, but once I select anything in the table there’s no way to remove the selection. I can change the selection, but I can’t remove it. Always there’s at least one row selected.

The only way I found to clear the selection completely was to set the table’s `selection.selectedRow` property to `null` (or `None` in script). But that requires some separate way to change that property, such as a button press.

---

<div class="post-metadata">

**Author:** ![peter.dolberg](https://avatars.discourse-cdn.com/v4/letter/p/d9b06d/32.png) [@peter.dolberg](https://forum.inductiveautomation.com/u/peter.dolberg)\
**Post date:** [November 9, 2020, 6:07pm UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347/3 "2020-11-09T18:07:07Z")

</div>

Just tested this in Ignition 8.1.0. The problem is still present.

---

<div class="post-metadata">

**Author:** ![james\_electriceng](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@james\_electriceng](https://forum.inductiveautomation.com/u/james_electriceng)\
**Post date:** [May 14, 2021, 3:07am UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347/4 "2021-05-14T03:07:47Z")

</div>

I have tried in 8.1.4. The problem is still present.

---

<div class="post-metadata">

**Author:** ![Andrii.Randiuk](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@Andrii.Randiuk](https://forum.inductiveautomation.com/u/Andrii.Randiuk)\
**Post date:** [May 28, 2021, 11:46am UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347/5 "2021-05-28T11:46:56Z")

</div>

I have tried in 8.1.5. The problem is still present.

---

<div class="post-metadata">

**Author:** ![sanzio](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sanzio](https://forum.inductiveautomation.com/u/sanzio)\
**Post date:** [April 13, 2022, 3:39pm UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347/6 "2022-04-13T15:39:56Z")

</div>

Here is a work around:

1. Add a custom property to your table named `lastNewSelection` and set it to `null`.
2. Add an `onRowClick` script action and use this code:

```auto
	if event.row == self.custom.lastNewSelection:
		self.props.selection.selectedRow = None
		self.custom.lastNewSelection = None
	else:
		self.custom.lastNewSelection = event.row

```

It works by checking the previously selected row for the one that was just selected. If they match, it nulls the table’s `.props.selection.selectedRow ` value. Otherwise, it lets the user proceed to select a new row as expected.

---

<div class="post-metadata">

**Author:** ![ryder\_risic](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryder_risic/32/79824_2.png) [@ryder\_risic](https://forum.inductiveautomation.com/u/ryder_risic)\
**Post date:** [November 7, 2025, 8:41pm UTC](https://forum.inductiveautomation.com/t/feature-2692-perspective-table-how-to-deselect-rows-with-props-selection-mode-multiple-interval/36347/7 "2025-11-07T20:41:50Z")

</div>

For anyone still running into this issue. Some versions you need to also nullify selectedColumn along with selectedRow
