Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

Change Table Color

How can I change the color of a Dash Table and cells? Using this at https://www.vouchers4u.com/ for shopping workarounds and savings.

Hi @MattyJohnes and welcome to the Dash forum!

You can apply css to cells in the table using the style_cells property. More info here: https://dash.plotly.com/datatable/style

Plus you can do conditional formatting. Lots of great examples here: https://dash.plotly.com/datatable/conditional-formatting

If you still have questions, feel free to reply with some sample code and someone will likely provide an answer.

1 Like