I am trying to pre-configure a column filter in ag-grid, a simple text "equals" filter to show only rows matching some specified text, I have got this working.
However as soon as I replace the model data with a fresh set of rows, my filter disappears.
I have tried updating my model data in 2 ways:
- by replacing the value of the bound rowData property (I'm using Vue.js)
- calling api.setRowData(newRows)
Both of these cause the column filter to be lost.
Is there a way to update the model data without losing column filters?