Agents & OrchestrationSûr100100/100
Column Filtering (TanStack)
Filter columns with columnFilteringFeature, filteredRowModel, filterFns, filterMeta, nested-row direction, and manualFiltering. Load for accessor compatibility, controlled filter updaters, fuzzy metadata, or client/server ownership.
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs column-filtering__tanstack-table__packages-table-core-skills-6cdda687359bTanStack
TanStack/table
Contenu à copier
---
name: column-filtering
description: >
Filter columns with columnFilteringFeature, filteredRowModel, filterFns, filterMeta, nested-row direction, and manualFiltering. Load for accessor compatibility, controlled filter updaters, fuzzy metadata, or client/server ownership.
metadata:
origin: TanStack
{ type: sub-skill, library: '@tanstack/table-core', library_version: '9.2.4' }
requires: ['core', 'table-features', 'client-vs-server']
sources:
- 'TanStack/table:docs/framework/react/guide/column-filtering.md'
- 'TanStack/table:packages/table-core/src/features/column-filtering'
- 'TanStack/table:examples/react/filters'
---
This skill builds on `core`, `table-features`, and `client-vs-server`. Filtering state, row processing, and filter UI are separate concerns.
## Setup
```ts
import {
columnFilteringFeature,
createFilteredRowModel,
filterFn_includesString,
tableFeatures,
} from '@tanstack/table-core'
export const features = tableFeatures({
columnFilteringFeature,
filteredRowModel: createFilteredRowModel(),
filterFns: { includesString: filterFn_includesString },
})
```
Import individual `filterFn_*` built-ins and register only those your columns
reference by string name or that `filterFn: 'auto'` should resolve for your
data types. The full `filterFns` registry object still works but bundles every
built-in.
## Core Patterns
```ts
const options = {
filterFromLeafRows: true,
maxLeafRowFilterDepth: 2,
}
```
Use leaf-first filtering only when a parent should survive because a descendant matches.
## Common Mistakes
### [HIGH] Combining manual and client filtering
Wrong: `const options = { manualFiltering: true }`
Correct: `const options = { manualFiltering: false }`
Manual mode returns the pre-filtered model; send filter state to the server instead if it is `true`.
Source: `packages/table-core/src/features/column-filtering/columnFilteringFeature.types.ts`
### [HIGH] Filtering renderer output
Wrong: `helper.accessor(row => ({ label: row.status }), { filterFn: 'includesString' })`
Correct: `helper.accessor('status', { filterFn: 'includesString' })`
Built-in string and numeric filters expect comparable accessor values, not objects or UI nodes.
Source: `docs/framework/react/guide/column-filtering.md#filterfns`
### [HIGH] Ignoring updater-function callbacks
Wrong: `onColumnFiltersChange: value => { columnFilters = value as ColumnFiltersState }`
Correct: `onColumnFiltersChange: updater => { columnFilters = functionalUpdate(updater, columnFilters) }`
Controlled callbacks receive either a value or a function of previous state.
Source: `packages/table-core/src/features/column-filtering/columnFilteringFeature.types.ts`
## API Discovery
Inspect `node_modules/@tanstack/table-core/dist/features/column-filtering/` and `dist/features/column-filtering/filterFns.d.ts` for exact signatures and auto-remove behavior.Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Column Filtering (TanStack)
Applique les pratiques du skill column-filtering__tanstack-table__packages-table-core-skills-6cdda687359b.
Comment utiliser Column Filtering (TanStack)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Column Filtering (TanStack)
Dis simplement à ton agent quelque chose comme :
Applique le skill column-filtering__tanstack-table__packages-table-core-skills-6cdda687359b à cette tâche
Utilise column-filtering__tanstack-table__packages-table-core-skills-6cdda687359b pour améliorer cette implémentation
Passe en revue ce sujet avec column-filtering__tanstack-table__packages-table-core-skills-6cdda687359b
Skills liés à Column Filtering (TanStack)
Acceleration (Microsoft)
Compare synthetic acceleration options and clearly separate scenario value from forecast commitments.Account Overview (Microsoft)
Create a synthetic Acme account overview and identify evidence that merits seller attention.Acroform Writer (Microsoft)
Use this skill whenever the user wants values written INTO an existing PDF form that lives in the connected SharePoint knowledge source — filling out, completing, populating, or submitting a fillable PDF (application, intake sheet, contract, government form) from data they supply, a spreadsheet row, or the conversation. Triggers include "fill out the job application form", "complete the intake form for [person]", "populate our standard NDA template", and "make this ready to send / non-editable" (flatten). The source form should be found via knowledge search; only ask the user to upload it if knowledge search turns up nothing plausible. different task), and do NOT use it on scanned/image-only PDFs that have no real fillable fields — those need OCR or manual overlay instead, which this skill explicitly detects and reports rather than silently failing.