Hello everyone,
Thanks for your amazing work on streamlit aggrid @PablocFonseca. Here is my code:
gd=GridOptionsBuilder().from_dataframe(df)
gd.configure_default_column(**defaultColDef)
gd.configure_side_bar(filters_panel=True)
gd.configure_column("Prix",
type=["numericColumn","numberColumnFilter","customNumericFormat"],
valueGetter="('€ ' + data.Prix.toLocaleString('fr-FR', { maximumFractionDigits:1}))")
gd.configure_pagination(enabled=True)
gridoptions=gd.build()
AgGrid(df,fit_columns_on_grid_load=False,custom_css=custom_css,allow_unsafe_jscode=True,gridOptions=gridoptions)
I would like to set the language to french. So for example in the filters_panel i have (Select all), this would be (Tout séléctionner). I have tried gd.configure_grid_options(localeText=‘fr’) but that doesnt work. Thanks in advance, have a nice day !