mirror of
https://github.com/Hestia-Homes/insight.git
synced 2026-06-08 11:17:25 +00:00
total is bold
This commit is contained in:
parent
59f4b1c2be
commit
c6b36100b4
1 changed files with 14 additions and 0 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue