I’m facing an issue while applying a filter to text columns in AG Grid. The filter input field does not show up.
Python 3.8.10, dash 2.16.1, dash-ag-grid 31.2.0
This is my code:
nomenclature_df = nomenclature_df.astype(str)
grid = dag.AgGrid(
id="get-started-example-basic-df",
rowData=nomenclature_df.to_dict("records"),
columnDefs=[
{
"field": i,
"headerName": i,
"sortable": True,
"filter": True,
}
for i in nomenclature_df.columns
],
className="ag-theme-alpine dash-ag-grid",
columnSize="autoSize",
dashGridOptions={
"pagination": True,
"animateRows": False,
"paginationPageSizeSelector": False,
"paginationPageSize": 50,
},
)