diff --git a/backend/src/dashboard/main.py b/backend/src/dashboard/main.py index 485d993..40dac67 100644 --- a/backend/src/dashboard/main.py +++ b/backend/src/dashboard/main.py @@ -123,6 +123,13 @@ app.layout = html.Div([ "minWidth": "150px"}, ], style_header={"fontWeight": "bold", "backgroundColor": "#f5f5f5"}, + style_data_conditional=[ + { # <<< MAKE TOTAL ROW BOLD + "if": {"filter_query": "{Product Type} = 'TOTAL'"}, + "fontWeight": "bold", + "backgroundColor": "#f0f0f0" + } + ] ), html.Hr(), @@ -144,6 +151,13 @@ app.layout = html.Div([ "minWidth": "150px"}, ], style_header={"fontWeight": "bold", "backgroundColor": "#f5f5f5"}, + style_data_conditional=[ + { # <<< MAKE TOTAL ROW BOLD + "if": {"filter_query": "{Product Type} = 'TOTAL'"}, + "fontWeight": "bold", + "backgroundColor": "#f0f0f0" + } + ] ), html.Hr(),