is it possible to change the style inside a dropdown of a DataTable? I want a dark theme layout but if i change the backgroundcolor of the Table to dark and the font color to white, this does not apply to the dropdown. The dropdown background is white and the font is still dark
dropdown={
'vary': {
'options': [
{'label': str(i), 'value': str(i)}
for i in params['vary'].unique()
]
, "clearable" : False } }
Hi,
I’m not sure if you’re referring to the cell where the dropdown box is or the dropdown list.
If it is the former, you may consider modifying the style_data or style_data_conditional property.
Otherwise, I currently can only think of adding some CSS like this below.
The font in the cell with the dropdown has another color than the rest of the cells in the table. I can pick between two values: True and False and one of them is default and set before using the dropdown. Before using the dropdown and after using it the font is still black. But the other thing (changing the dropdown list itself) would be also cool. I am relatively new to Python/Plotly, where can i change style_data or style_data_conditional for the cells and where can i change .dash-table-container.Select-menu-outer {background:black;}
Thank you Sir!