T
TanStack2y ago
passive-yellow

updating cell after filterFn

Is there a way to edit the cell after the filter function runs?
filterFn: (rows, id, filterValue) => {
// position: [number, number] - coordinates of the filterValue found in the string
const { position } = stringMatching(rows.original.address, filterValue as string);

// update row cell

return position.length > 0;
},
filterFn: (rows, id, filterValue) => {
// position: [number, number] - coordinates of the filterValue found in the string
const { position } = stringMatching(rows.original.address, filterValue as string);

// update row cell

return position.length > 0;
},
I searched the documents, but there's no setValue in a Row<>. If anyone knows a way, please do tell. Thank you
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?