Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,12 +31,12 @@ builder.configure_default_column(resizable=True, wrapText=True, autoHeight=False
|
|
31 |
builder.configure_grid_options(domLayout='normal', rowHeight=40) # Set fixed row height
|
32 |
|
33 |
# Make the Benchmark column bold
|
34 |
-
|
35 |
-
builder.configure_columns(filtered_data.columns.tolist(), cellStyle=cell_style)
|
36 |
|
37 |
-
#
|
38 |
-
builder.
|
39 |
options = builder.build()
|
40 |
|
41 |
-
AgGrid(filtered_data, gridOptions=options, height=600, fit_columns_on_grid_load=True, theme="streamlit") # Display filtered or full data
|
|
|
42 |
|
|
|
31 |
builder.configure_grid_options(domLayout='normal', rowHeight=40) # Set fixed row height
|
32 |
|
33 |
# Make the Benchmark column bold
|
34 |
+
builder.configure_columns(["Benchmark"], cellStyle={"fontWeight": "bold"})
|
|
|
35 |
|
36 |
+
# Enable tooltips for viewing full cell content
|
37 |
+
builder.configure_columns(filtered_data.columns.tolist(), tooltipField="value")
|
38 |
options = builder.build()
|
39 |
|
40 |
+
AgGrid(filtered_data, gridOptions=options, height=600, fit_columns_on_grid_load=True, theme="streamlit", allow_unsafe_jscode=True) # Display filtered or full data
|
41 |
+
|
42 |
|