Table onRowClick object has no attribute 'ctrlKey'

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,

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,

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!

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.

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