Is it possible to deselect a column in a Perspective Table using script?

Hello all,

I have a Table component that I am using to display SQL data. I plan to use column selection to aid me in manipulating the data. The problem that I am having is that I do not want my users to be able to select the first column. I have tried to find a selection element in the column properties but there is none. I have also tried to use an onClick event on table to detect the selectedColumn and deselect it if it is the column in question. But I am receiving and error when I do that.
This are the different things that I have tried:

event.selectedColumn = None
event.selectedColumn = “None”
event.selectedColumn = -1

This is the error that I am receiving:

AttributeError: ‘com.inductiveautomation.ignition.common.script.ada’ object has no attribute ‘selectedColumn’

I would try the onRowClick event and then do something like this:

if self.props.selection.selectedColumn == 'the column name':
          self.props.selection.selectedColumn = -1

you were on the right track to set the selectedColumn to -1, but you need to set the property of the table to -1 to clear the selection.

edit:
I misread your question, and edited to use the selected column instead of the selected row.