Changing the background color of a cell in a table

I need to change the color of a cell in a powertable. The color will depend on the selection of a value in a popup. The selected value is stored in a database. Could someone give me a clue on how to do this work? You should first write the value in database and then verify if it is true?. It is that you should check if the validation button in the popup has been clicked?. Any hint or reference that you can give me? Thank you

You have to “play” with the Row Index and the Column Index ( like a naval battle ).
So basically, you have to find a way to know the Row Index and the Column Index of your value inside the Power Table and put them in a script like this one:
(configureCell - Extension Functions )

	if rowView == 7 and colView == 2:
		return {'background': '204,204,255'}

Hi,
Thanks for you reponse, works as expected.

Thanks again

1 Like