# Table onRowClick object has no attribute 'ctrlKey'

**URL:** <https://forum.inductiveautomation.com/t/table-onrowclick-object-has-no-attribute-ctrlkey/117296>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 1, 2026, 10:02pm UTC](https://forum.inductiveautomation.com/t/table-onrowclick-object-has-no-attribute-ctrlkey/117296 "2026-10-01T22:02:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 1, 2026, 10:02pm UTC](https://forum.inductiveautomation.com/t/table-onrowclick-object-has-no-attribute-ctrlkey/117296/1 "2026-10-01T22:02:05Z")

</div>

I'm experimenting. I want to be able to deselect a selected row on a `mode.selection: single` table.

If I use `Configure Events ... > onRowDoubleClick`,

```python
def runAction(self, event):
	self.props.selection.selectedColumn = None
	self.props.selection.selectedRow = None

```

it works.

If I try to use Ctrl-click rather than double-click I use `onRowClick`,

```python
def runAction(self, event):
	if event.ctrlKey:
		self.props.selection.selectedColumn = None
		self.props.selection.selectedRow = None

```

but get an error:  
`AttributeError: 'com.inductiveautomation.ignition.common.script.ada' object has no attribute 'ctrlKey'`

Can anyone spot the grand flaw in my approach?

Many thanks!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 1, 2026, 10:27pm UTC](https://forum.inductiveautomation.com/t/table-onrowclick-object-has-no-attribute-ctrlkey/117296/2 "2026-10-01T22:27:21Z")

</div>

Log a `dir(event)` in that action to see what might be possible. Not all script wrappers do the conventional NetBeans substitutions for getters/setters.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 1, 2026, 10:39pm UTC](https://forum.inductiveautomation.com/t/table-onrowclick-object-has-no-attribute-ctrlkey/117296/3 "2026-10-01T22:39:57Z")

</div>

The row click/double click events only get `row`, `rowIndex`, and `value` keys.
