Change color row if checkbox ticked

Hi. I need to do this so the selected rows within a table are clearly highlighted. The checkboxes are in column 7. Is there a way to change the color of all cells in that row? I have tested the background color mapping but it does not highlighted the row selected, and how can I revert colors when unchecked? Thanks guys

Use the Power Table. Use the configureCell extension function on the Power Table.

There is already an example of setting the background color of selected rows in the configureCell extension function of the Power Table. It needs to be uncommented.

if selected: return {'background': self.selectionBackground} else: return {'background': 'white'}Best,