Dash table styling the filter cells

Evening friends,

I am building out a dash_table in a dark theme. Trouble I’m having is figuring out to change the color on the filter cells so that I can see what I’m typing in. It would appear it uses a default style, and I haven’t had any luck with getting the style_filter property to actually update the style.

dash_table.DataTable(id=f'{PAGE}'-table,
                               ...
                               style_cell={'text-align':'left',
                                                'backgroundColor':'#343a40',
                                                'color':'white'},
                              style_filter={'color':'white'}
)

Thanks!
Scott

2 Likes

Hi Scott,

I have the same issue, also would love to modify standard “filter data …” message.
But it looks like there is issue with it and it was already reported here:

Have you found any workaround from November 2019?

1 Like