Dash AgGrid - Quick Filters

I tried to reproduce an Ag Gid example as in the documentation, but it seems that the component_property “quickFilterText” it is not available:

Property "quickFilterText" was used with component ID:
  "d-aim-units"
in one of the Output items of a callback.
This ID is assigned to a dash_ag_grid.AgGrid component
in the layout, which does not support this property.
This ID was used in the callback(s) for Output(s):
  d-aim-units.quickFilterText

I see that the example run with the dash-ag-grid==2.3.0 and I have the 2.4.0 installed.

Hello @lorenzo,

You will need to be using it as this:

@app.callback(Output('grid','dashGridOptions'), Input('input','value'))
def updateQuickFilter(v):
    newFilter = Patch()
    newFilter['quickFilterText'] = v
    return newFilter

dag-docs

1 Like

Hello @jinnyzor,

many thanks. It works now.

1 Like

Hi guys!
To let you know, the docs have been fixed and should be deployed soon :tada:
Thanks to have brought this issue up!

3 Likes