[SOLVED] How do you unselect a powertable row without using CTRL key

I was able to do this by adding a custom properrty to a power table named selectedRowPrevious and then using the following script in the table’s onMousePress event.

I assume this will work on a touch screen.

	if self.selectedRowPrevious == rowIndex:
		self.selectedRow = -1
	self.selectedRowPrevious = rowIndex
3 Likes