I have created an input table that operators put data into and I really like that I am able to highlight a row black when it's selected to make it very easy to see what row is selected. However, I would really like to be able to turn the specific cell that the focus is on white, so its easier to tell where in the selected row you are. Do you know of any way to do this? Currently, I have the "row selection enabled" checkbox selected, and the "non-contiguous row selection" off. Here is the code snippet I am currently using to gray out the row after the submit check box is checked.
#Code snippet
def configureCell(self, value, textValue, selected, rowIndex, colIndex, colName, rowView, colView):
Check the value of the boolean column
boolean_value = self.data.getValueAt(rowIndex, "PourTimeBox")
if boolean_value:
return {'background': 'gray'}
I have tried in the configureCell powerfunction to select only the "focused on" cell but dont have a great Idea of how to do this.
I have attached a picture of what a selected cell currently looks like if tabbed over to.