본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)29k · #9837

table-features

하는 일

이 스킬은 테이블 기능을 켜고, 기대와 다르게 작동할 때 고치는 방법을 설명합니다. 라이브러리로 만든 테이블에 정렬, 필터링, 페이지네이션을 넣으려는 개발자를 위한 것입니다.

사용하는 경우

  • ✓TanStack 테이블에 정렬, 필터링, 페이지네이션, 선택 기능을 추가해야 할 때.
  • ✓헤더를 클릭해도 정렬이 되지 않는 것처럼 기능이 작동하지 않아서 등록 상태를 확인해야 할 때.
  • ✓행 모델이나 정렬 함수에 어떤 기능이 필요한지 알고 싶을 때.

스킬 링크

https://github.com/TanStack/table/blob/main/packages/table-core/skills/table-features/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/TanStack/table/blob/main/packages/table-core/skills/table-features/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“TanStack 테이블에 정렬을 추가했는데 헤더를 클릭해도 아무 일도 없어요. 어떻게 고치나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

기능 목록에 각 기능과 행 모델을 등록하는 방법을 보여줍니다. 테이블은 등록한 기능의 동작만 갖기 때문이며, 각 기능의 전제 조건도 설명합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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 involves Read
Manual modes, server data, mixed row-processing stages, or dataset scope Client/server ownership
Totals, multiple aggregations, grouped aggregate values, or custom aggregate definitions Aggregation
Facet option counts, numeric ranges, or incomplete server facets Column faceting
Per-column filters, filter functions, metadata, or nested-row filtering Column filtering
Group rows, placeholders, or grouping with expansion/pagination Grouping
Drag ordering or leaf-column order differing from state Column ordering
Sticky column regions, logical start/end, or pinning gaps Column pinning
Drag resize handles, gesture events, or resize performance Column resizing
Numeric widths, min/max limits, or model/CSS size mismatch Column sizing
Hidden columns, visibility-aware rendering, or hiding controls Column visibility
A search across columns or global-filter eligibility Global filtering
Hierarchical subrows, detail panels, or expansion/page interaction Expanding
Page slicing, counts, navigation, or page-index resets
자주 묻는 질문

코드를 작성했는데도 기능이 작동하지 않는 이유는 무엇인가요?

기능은 테이블의 기능 목록에 등록되어야 하며, 일부 기능은 다른 기능이 먼저 등록되어야 한다고 이 스킬은 설명합니다.

정렬 함수와 필터 함수는 어디에 두나요?

일반 테이블 옵션이 아니라 기능 목록의 기능 슬롯에 둔다고 설명합니다.

모든 기능 참고 자료를 읽어야 하나요?

아닙니다. 작업에 맞는 참고 자료만 읽으라고 권장합니다.

상세 정보

작성자의 원본 설명

'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.'

repo: TanStack/table

인기도

GitHub 스타
29k
순위
#9837
라이선스
MIT
업데이트
2026. 10. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬