From 31c8d34b15d2f0c86507399ea45cdfc33906c6b6 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Sun, 22 May 2022 22:34:58 +0200 Subject: [PATCH] moved columns settings into the right spot --- stand.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/stand.py b/stand.py index 7c7b109..2aff4c5 100644 --- a/stand.py +++ b/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) go = gob.build() @@ -66,11 +74,6 @@ response = AgGrid( df[::-1], go, - filter=True, - editable=True, - sortable=True, - resizable=True, - theme="streamlit", fit_columns_on_grid_load=True,