✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Remove or Change Datatable Highlight Color

I am trying to remove or change the “highlight” color when a cell is selected in a datatable.

Right now it’s a hot pink color that doesn’t look good.

Any way to remove that?

Any help is greatly appreciated.

See the first example in https://dash.plotly.com/datatable/conditional-formatting:


        {
            'if': {
                'state': 'active'  # 'active' | 'selected'
            },
           'backgroundColor': 'rgba(0, 116, 217, 0.3)'
        }

Thank You.

Is there any way to remove the pink outline?

Screen Shot 2020-05-19 at 4.44.47 PM

try changing the borderColor?

When the cell is highlighted/selected the border color is pink.

The rest of the datatable has white borders.

Screen Shot 2020-05-19 at 9.50.10 PM