Datatable background-clip

I want to apply “background-color” and then “background-clip” to data table cells. “background-color” works but “background-clip” doesn’t. I tried both style_cell property of DataTable :

style_cell={‘backgroundClip’: ‘content-box’}

and css file:

.dash-cell{ background-clip: content-box;}

Neither work.

1 Like