What problem does it solve?
Global filtering in TanStack Table often misbehaves: unexpected columns participate in the search, or the filter state changes while rows stay the same. This Skill explains how to configure global filtering correctly on top of the column-filtering pipeline, for both client-side and manual server-side filtering.
Core Features & Use Cases
- Correct feature wiring: Registers columnFilteringFeature, globalFilteringFeature, and a filteredRowModel together so global filtering actually processes rows.
- Column eligibility control: Uses getColumnCanGlobalFilter to exclude columns like 'actions' from the global search instead of relying on default primitive-value detection.
- Manual server-side filtering: Shows how to drive server requests with the global filter value when manualFiltering is enabled, since the client model is bypassed.
- Use Case: A React datagrid with a search box where the 'actions' column must be excluded and filtering runs on the server; this Skill provides the exact options and feature registration to make it work.
Quick Start
Ask the AI to set up global filtering in a TanStack Table instance that excludes specific columns and supports server-side search.