You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on Python V 3.11.1 and Streamlit Aggrid version 1.0.5.
When using the ColumnsAutoSizeMode, it seems to always resize the first two columns of the grid to as small as possible, often hiding the majority of the data in the grid.
Here are my settings:
##DisplayGrid(df)
grid_options = GridOptionsBuilder.from_dataframe(df)
grid_options.configure_pagination(enabled=True,paginationPageSize=50,paginationAutoPageSize=False) # Enable auto pagination size
grid_options.configure_side_bar(filters_panel=True,columns_panel=False) # Enable side bar for additional controls
grid_options.configure_grid_options(enableRangeSelection=True, quickFilterText = quick_filter_text)
##Custom CSS
customcss = {
"#gridToolBar": {"padding-bottom": "0px !important"}
}
# Display the grid
AgGrid(df, gridOptions=grid_options.build(), fit_columns_on_grid_load=False, theme='balham', reload_data=False, height=765, custom_css=customcss,columns_auto_size_mode=ColumnsAutoSizeMode.FIT_CONTENTS)
And here's how it looks on the initial load:
The text was updated successfully, but these errors were encountered:
I'm on Python V 3.11.1 and Streamlit Aggrid version 1.0.5.
When using the ColumnsAutoSizeMode, it seems to always resize the first two columns of the grid to as small as possible, often hiding the majority of the data in the grid.
Here are my settings:
And here's how it looks on the initial load:
The text was updated successfully, but these errors were encountered: