How to set filter function on a column after useReactTable hook ?

This snippet doesn't work
const table = useReactTable<TableType>({...})

table.getColumn("date").columnDef.filterFn = () => {
  // unusable function
}
Was this page helpful?