跳到正文
cccskills
免费在 GitHub 公开

table-features

Add or troubleshoot Table v9 features such as sorting, filtering, pagination, selection, merged cells, and column layout. Guidance helps check feature registration, dependencies, and row-processing settings, with references selected for the task.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Add or debug Table v9 features: registration, row-model slots, prerequisites, sorting, filtering, pagination, selection, spanning, and column layout. Read only task-relevant feature references.

查看安装方法

适用场景

  • Adding sorting, filtering, and pagination
  • Investigating missing table APIs or state
  • Configuring row selection, cell selection, or merged cells
  • Reviewing column layout and client/server processing

包含的文件(19)

  • SKILL.md9.3 KB
  • references/aggregation.md4.1 KB
  • references/cell-selection.md9.4 KB
  • references/cell-spanning.md5.3 KB
  • references/client-vs-server.md4.0 KB
  • references/column-faceting.md2.8 KB
  • references/column-filtering.md2.7 KB
  • references/column-ordering.md2.0 KB
  • references/column-pinning.md2.2 KB
  • references/column-resizing.md2.3 KB
  • references/column-sizing.md1.8 KB
  • references/column-visibility.md1.9 KB
  • references/expanding.md2.0 KB
  • references/global-filtering.md2.3 KB
  • references/grouping.md2.6 KB
  • references/pagination.md2.1 KB
  • references/row-pinning.md2.0 KB
  • references/row-selection.md6.1 KB
  • references/sorting.md2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Feature architecture

Read core first for the headless model and stable inputs.

Register the behavior the table uses

<!-- skill-snippet:check -->
import {
  createSortedRowModel,
  rowSortingFeature,
  sortFn_alphanumeric,
  tableFeatures,
} from '@tanstack/table-core'

export const features = tableFeatures({
  rowSortingFeature,
  sortedRowModel: createSortedRowModel(),
  sortFns: { alphanumeric: sortFn_alphanumeric },
})

Pass the stable features object to the installed adapter constructor. The concrete registry determines optional APIs, options, state slices, and their types. The core row model is automatic; a custom core model uses coreRowModel.

Registration rules

  • Register each prerequisite feature before its dependent slot in the same tableFeatures call. A processing factory alone cannot install that feature's APIs or state.
  • Row-model factories use create*RowModel() feature slots. Their names and prerequisites are in the feature reference. They take no function-registry arguments.
  • filterFns, sortFns, and aggregationFns are feature slots, not table options. They require columnFilteringFeature, rowSortingFeature, and rowAggregationFeature, respectively.
  • Import individual built-ins such as sortFn_alphanumeric and register their conventional keys. Those keys become typed string names; 'auto' can resolve only registered functions. Pass a function directly when a column needs no named registry entry. Full registry exports bundle every built-in.
  • columnResizingFeature requires columnSizingFeature; globalFilteringFeature requires columnFilteringFeature. Check installed FeatureSlotPrereqs for other dependencies.
  • Use explicit features for normal construction. stockFeatures is a deliberate all-features convenience or temporary migration aid, with the corresponding bundle cost.

A missing API can mean missing registration. Check the concrete feature object before casting, recreating an API, or assuming v9 removed it.

Select references by the requested change

Read only references needed for the requested behavior and its dependencies, including features being added. An unrelated feature already registered on the table does not make its reference necessary.

Task involvesRead
Manual modes, server data, mixed row-processing stages, or dataset scopeClient/server ownership
Totals, multiple aggregations, grouped aggregate values, or custom aggregate definitionsAggregation
Facet option counts, numeric ranges, or incomplete server facetsColumn faceting
Per-column filters, filter functions, metadata, or nested-row filteringColumn filtering
Group rows, placeholders, or grouping with expansion/paginationGrouping
Drag ordering or leaf-column order differing from stateColumn ordering
Sticky column regions, logical start/end, or pinning gapsColumn pinning
Drag resize handles, gesture events, or resize performanceColumn resizing
Numeric widths, min/max limits, or model/CSS size mismatchColumn sizing
Hidden columns, visibility-aware rendering, or hiding controlsColumn visibility
A search across columns or global-filter eligibilityGlobal filtering
Hierarchical subrows, detail panels, or expansion/page interactionExpanding
Page slicing, counts, navigation, or page-index resetsPagination
Top/bottom pinned rows or their visibility outside the current pageRow pinning
Rectangular cell selection, include/exclude ranges, or drag outlinesCell selection
Merged body cells, covered cells, or spans changing with row orderCell spanning
Row checkboxes, select-all, Shift ranges, or IDs across pagesRow selection
Sorting, comparators, undefined values, or sort interaction cyclesSorting

For controlled state or reset behavior, read shared state and load the installed adapter's state skill for reactive wiring.

Installed API discovery

Inspect node_modules/@tanstack/table-core/dist/types/TableFeatures.d.ts for slots and FeatureSlotPrereqs. Follow dist/features/<feature>/ for exact state, option, and instance declarations. Each reference names its feature directory.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

core

免费

Build table data processing with TanStack Table v9 while keeping data and column definitions stable. The skill guides type inference, which determines types automatically, row identity, optional features, and checks for missing APIs.

中文简介正在准备中。当前显示英语简介。

  • Set up the foundation for table data processing
  • Troubleshoot column type inference
  • Investigate missing APIs or optional features
TanStack/table2.8万2026年10月13日 更新

Build a Table v9 plugin when built-in settings and typed metadata are insufficient. Guides custom state, options, and methods, with initialization hooks and runtime checks to ensure declared APIs actually exist and reset correctly.

中文简介正在准备中。当前显示英语简介。

  • Add reusable custom table behavior
  • Design plugin state and reset behavior
  • Keep declared APIs consistent with runtime behavior
TanStack/table2.8万2026年10月13日 更新

devtools

免费

Connect Vue Table v9 to Devtools and troubleshoot missing tables. Covers unique table keys, reactive references that track table replacement, cleanup when targets change, and the development settings that determine whether the integration runs.

中文简介正在准备中。当前显示英语简介。

  • Connect a Vue table to Devtools
  • Investigate a missing table target
  • Keep registration updated when a table reference changes
TanStack/table2.8万2026年10月13日 更新

devtools

免费

Register Angular TanStack Table v9 instances with Devtools, a tool for developers. The skill covers unique table keys, registration that responds to changes, automatic cleanup, and the different setup rules for development and production.

中文简介正在准备中。当前显示英语简介。

  • Register an Angular table with Devtools
  • Investigate a table that fails to register
  • Enable or remove registration as conditions change
TanStack/table2.8万2026年10月13日 更新

devtools

免费

Connect Preact Table v9 to Devtools, a development inspection interface. This skill guides package selection, unique table keys, registration settings, and development-only behavior to help diagnose tables that do not appear.

中文简介正在准备中。当前显示英语简介。

  • Connecting Preact tables to Devtools
  • Diagnosing missing table targets
  • Checking duplicate keys across tables
TanStack/table2.8万2026年10月13日 更新

devtools

免费

Connect React Table v9 to Devtools, a development inspection interface. Configure table registration, unique keys, and enabled settings, and diagnose missing panels while understanding registration cleanup and the separate entrypoint for explicit production use.

中文简介正在准备中。当前显示英语简介。

  • Adding Devtools to React tables
  • Diagnosing missing Table panels
  • Controlling registration with enabled
TanStack/table2.8万2026年10月13日 更新

查看 TanStack 的全部技能

报告此技能的问题