Add statusBar to Ag-grid

Hi everyone, I would like to add a statusBar(JavaScript Data Grid: Status Bar) to my Ag-grid. the GridOptionsBuilder documentation states that I should be able to add this options to my Ag-grid but I’m not sure how to add this feature using gb.configure_grid_options().

thanks in advance

I was able to get a working solution if anyone is interested:
Ag-grid with Status Bar

import streamlit as st
from st_aggrid import GridOptionsBuilder, AgGrid
import pandas as pd
import numpy as np

def get_data():
df = pd.DataFrame(
np.random.randint(0, 100, 50).reshape(-1, 5), columns=list(“abcde”)
return df
df = get_data()
gb = GridOptionsBuilder.from_dataframe(df)

statusPanels = {“statusPanels”: [{ “statusPanel”: “agTotalAndFilteredRowCountComponent”, “align”: “left” },{ “statusPanel”: “agTotalRowCountComponent”, “align”: “center” },{ “statusPanel”: “agFilteredRowCountComponent” },{ “statusPanel”: “agSelectedRowCountComponent” },{ “statusPanel”: “agAggregationComponent” }]}

gridOptions =

st.title(“Ag-grid with Status Bar”)
data = AgGrid(df,gridOptions=gridOptions,enable_enterprise_modules=True)