How to auto select ag-grid header checkbox using streamlit

Created ag-grid using streamlit with checkboxes, i want all the items checked by default including header item.

gb.configure_column(df_response.columns[0], headerCheckboxSelection=True)

is there any way we can do it?

also what is the way to store checked data via jscode?

image