-
-
Notifications
You must be signed in to change notification settings - Fork 73
Ability to change the background color when a cell is selected #256
Comments
@sylvoslee Thanks for bringing this to our attention. You're touching onto both a bug and a possible feature request. The bug firstI also see that the cells are not correctly styled in IE11 but cannot see this behavior in Edge -- the earliest version of Edge I have access to is 15. Can you confirm on which version you are experiencing this issue? This is caused by IE11 not evaluating rgba colors correctly and setting everything to transparent afterwards, text included -- awkward! If you need a temporary fix for this you can apply a custom style with the
The featureThere is currently no officially supported way to change the background-color of a selected or focused cell through the This issue will be used for fixing the rendering bug in IE11 / Edge. |
This comment has been minimized.
This comment has been minimized.
It would be awesome to have this feature, specially when we style the table with darker colors, the pink outline nor the light pink color inside the selected cell is barely visible. |
How do I add the code snippet to dash? I tried |
@straumboi this is the |
I tried adding this to the table definition, it did not work unfortunately. Is there any other way to change the active cell colour? |
You're so close - I see the desired color if I add |
Hello, I would like to change the background color of the cell in a dash data-table if I make any changes to the cell,. Is that possible? Regards, |
I've managed to change the hovering color and disabling the possibility to select a cell (end result is visibile here : https://corporate-dash.herokuapp.com. This is explained here: https://gabri-albini.medium.com/create-a-professional-dasbhoard-with-dash-and-css-bootstrap-e1829e238fc5) tr:hover { |
Hi gar-al, thanks for your Medium article I've found it very useful in learning how to customise Plotly dashboards. Although I'm still having trouble with changing the colour of active items, mainly Radio Items. Do you know if this functionality works for items other than a table and on manually created CSS classes? Thanks in advance. |
The default color is red on chrome,but white on Edge and IE
The text was updated successfully, but these errors were encountered: