moved columns settings into the right spot
This commit is contained in:
15
stand.py
15
stand.py
@ -56,7 +56,15 @@ with col1:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
gob = GridOptionsBuilder.from_dataframe(df)
|
gob = GridOptionsBuilder.from_dataframe(
|
||||||
|
df,
|
||||||
|
editable=True,
|
||||||
|
filterable=True,
|
||||||
|
groupable=True,
|
||||||
|
resizable=True,
|
||||||
|
sortable=True
|
||||||
|
)
|
||||||
|
|
||||||
gob.configure_auto_height(True)
|
gob.configure_auto_height(True)
|
||||||
go = gob.build()
|
go = gob.build()
|
||||||
|
|
||||||
@ -66,11 +74,6 @@ response = AgGrid(
|
|||||||
df[::-1],
|
df[::-1],
|
||||||
go,
|
go,
|
||||||
|
|
||||||
filter=True,
|
|
||||||
editable=True,
|
|
||||||
sortable=True,
|
|
||||||
resizable=True,
|
|
||||||
|
|
||||||
theme="streamlit",
|
theme="streamlit",
|
||||||
|
|
||||||
fit_columns_on_grid_load=True,
|
fit_columns_on_grid_load=True,
|
||||||
|
Reference in New Issue
Block a user