I have a custom filter component which I am using to debounce the typing in a text field. With this component I call updateFilter I call it like so: updateFilter(value, columnIndex, 'custom', column); Where the columnIndex and column values come from the display callback (filterList: any, updateFilter: any, index: any, column: any). When updateFilter is called I can then see that onFilterChange is called, however the columnName is always undefined. I would expect that the changeColumn would be based on the data passed to updateFilter. What am I misunderstanding or doing wrong?
I have a custom filter component which I am using to debounce the typing in a text field. With this component I call
updateFilter
I call it like so:updateFilter(value, columnIndex, 'custom', column);
Where thecolumnIndex
andcolumn
values come from the display callback(filterList: any, updateFilter: any, index: any, column: any)
. WhenupdateFilter
is called I can then see that onFilterChange is called, however the columnName is always undefined. I would expect that the changeColumn would be based on the data passed toupdateFilter
. What am I misunderstanding or doing wrong?My custom component:
The column options: