Hi team,
Using Dash Ag Grid, Id like to have the same filter as Year filter here: https://www.ag-grid.com/javascript-data-grid/component-filter/
Although I created yearFilter.js and corresponding class, it sounds like my grid cannot find the YearFilter class. Should I register this filter in any other ways?
Thanks,
Hi @231530353
You can find an example here:
Hello @robertf ,
There isnt currently a way to do this, but I have a PR pending that will fix it so that you can do something like this:
app.py
from dash import Dash, html
import dash_ag_grid as dag
import pandas as pd
app = Dash(__name__)
df = pd.read_csv(
"https://raw.githubusercontent.com/plotly/datasets/master/ag-grid/olympic-winners.csv"
)
rowData = df.to_dict('records')
columnDefs = [
{ 'field': 'age', 'filter': 'agNumberColumnFilter' },
{ 'field': 'country', 'minWidth': …
1 Like