total is bold

This commit is contained in:
Jun-te Kim 2025-11-30 19:56:23 +00:00
parent 59f4b1c2be
commit c6b36100b4

View file

@ -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(),