Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Change background color of selected rows in a table


I am trying to create a plotly Table using the go.Table() function.

I want to change the color of selected rows withing the table but I can’t find how to do so. So far only column colors can be changed. How can I do so? Also is there a way to use row ‘mode’ instead of column ‘mode’ in the values argument? maybe this could solve my issue.

UPDATE: I just noticed the [lines] argument so this q can be considered closed

@mr.t Here is an example on how to assign a particular color to a row: