title: how to select filter rows using streamlit ag-grid?
body: <p>I'm using streamlit <a href="https://github.com/PablocFonseca/streamlit-aggrid" rel="nofollow noreferrer">Ag-Grid</a> to show a table. I'm allowing the user to filter using the filter option.</p>
  <p><a href="https://i.stack.imgur.com/4Ne5z.png" rel="nofollow noreferrer">table filter</a></p>
  <p>When the user filters any of the columns it works as expected.</p>
  <p>I now want to allow the user to download only the filtered rows.</p>
  <p>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.</p>
  <p>I know that this option is avaliable, I just can't seem to make it show up.</p>
  <p>Can you guys help me?
  Thank you</p>
  <pre><code>gb = GridOptionsBuilder.from_dataframe(df)
  gb.configure_default_column(enablePivot=True, enableValue=True, enableRowGroup=True)
  gb.configure_selection(selection_mode=&quot;multiple&quot;, 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)
  </code></pre>