Is it possible to filter numbers based on a partial match
Hi, I want to filter numbers based on a partial match using
I'm also struggling with filtering number type using
onColumnFiltersChange
. For example, when the data's like {"name": Bob, "phone_number": 123456}
, I wanna be able to display this data by filtering with 123
as a number type. Now I'm able to filter it by the exact same number like 123456
, but would it be possible?I'm also struggling with filtering number type using
onGlobalFilterChange
. It seems like when I try to onGlobalFilterChange
with the type of number, an error occurs in @duckdb/@tanstack/table-core/src/filterFns.ts
like TypeError: filterValue.toLowerCase is not a function
.
Does anyone has a solution to this?
P.S. my code is based on the sample code https://tanstack.com/table/latest/docs/framework/react/examples/filters-fuzzyReact TanStack Table Filters Fuzzy Example | TanStack Table Docs
An example showing how to implement Filters Fuzzy in React using TanStack Table.
0 Replies