You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Columns with null value in first item are excluded from global filter #439
Do you intend to try to help solve this bug with your own PR?
No, because I do not have time to dig into it
Terms
I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
This issue is realted to TanStack. There would be several workarounds.
return never null or undefined in accessorFn, it has to be always of type string
use column filterFn: 'includesString' to remove nullisch entries
Enable explicitly global filtering for the affected rows: getColumnCanGlobalFilter: (column) => return true
3.1 Keep in mind if you will to that you have to implement your globalFilterFn by your own to handle nullisch values
Activity
desytech commentedon Nov 18, 2024
This issue is realted to TanStack. There would be several workarounds.
nullorundefinedin accessorFn, it has to be always of type stringfilterFn: 'includesString'to remove nullisch entriesgetColumnCanGlobalFilter: (column) => return true3.1 Keep in mind if you will to that you have to implement your globalFilterFn by your own to handle nullisch values
TanStack/table#4919
rhyek commentedon Nov 19, 2024
Taking a quick stab at it, the first option worked.