I'm using streamlit Ag-Grid to show a table. I'm allowing the user to filter using the filter option.
When the user filters any of the columns it works as expected.
I now want to allow the user to download only the filtered rows.
I know that this feature is still in the pipeline, however if I can allow the user to check all the filtered rows by clicking on a 'check all rows' option it will work for now.
I know that this option is avaliable, I just can't seem to make it show up.
Can you guys help me? Thank you
gb = GridOptionsBuilder.from_dataframe(df)
gb.configure_default_column(enablePivot=True, enableValue=True, enableRowGroup=True)
gb.configure_selection(selection_mode="multiple", use_checkbox=True)
gb.configure_side_bar()
gridoptions = gb.build()
response = AgGrid(
df,
gridOptions=gridoptions,
enable_enterprise_modules=True,
update_mode=GridUpdateMode.MODEL_CHANGED,
data_return_mode=DataReturnMode.FILTERED_AND_SORTED,
fit_columns_on_grid_load=False,
header_checkbox_selection_filtered_only=True,
use_checkbox=True)
