table-features
यह क्या करती है
यह स्किल समझाती है कि टेबल के फ़ीचर कैसे चालू करें और जब वे अपेक्षित तरीके से काम न करें तो उन्हें कैसे ठीक करें। यह उन डेवलपरों के लिए है जिन्हें लाइब्रेरी से बनी टेबल में सॉर्टिंग, फ़िल्टरिंग या पेजिनेशन चाहिए।
कब इस्तेमाल करें
- ✓जब आपको TanStack टेबल में सॉर्टिंग, फ़िल्टरिंग, पेजिनेशन या चयन जोड़ना हो।
- ✓जब सॉर्टिंग जैसा फ़ीचर कुछ न करे और आपको उसका रजिस्ट्रेशन जांचना हो।
- ✓जब आपको यह जानना हो कि किसी row model या sort फ़ंक्शन को कौन सा फ़ीचर चाहिए।
Skill का लिंक
https://github.com/TanStack/table/blob/main/packages/table-core/skills/table-features/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैंने अपनी TanStack टेबल में सॉर्टिंग जोड़ी है, पर हेडर पर क्लिक करने से कुछ नहीं होता। इसे कैसे ठीक करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह दिखाती है कि हर फ़ीचर और उसके row model को फ़ीचर सूची में कैसे रजिस्टर करें, क्योंकि टेबल को सिर्फ़ वही व्यवहार मिलता है जो उसने रजिस्टर किया है, और हर फ़ीचर की पूर्व-शर्तें समझाती है।
तकनीकी सामग्री (मूल 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
tableFeaturescall. 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, andaggregationFnsare feature slots, not table options. They requirecolumnFilteringFeature,rowSortingFeature, androwAggregationFeature, respectively.- Import individual built-ins such as
sortFn_alphanumericand 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. columnResizingFeaturerequirescolumnSizingFeature;globalFilteringFeaturerequirescolumnFilteringFeature. Check installedFeatureSlotPrereqsfor other dependencies.- Use explicit features for normal construction.
stockFeaturesis 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 |
अक्सर पूछे जाने वाले सवाल
कोड लिखने के बाद भी फ़ीचर क्यों काम नहीं करता?
स्किल कहती है कि फ़ीचर को टेबल की फ़ीचर सूची में रजिस्टर होना चाहिए, और कुछ फ़ीचरों के लिए पहले कोई और फ़ीचर रजिस्टर होना चाहिए।
sort और filter फ़ंक्शन कहाँ जाते हैं?
स्किल कहती है कि वे सादे टेबल options नहीं, बल्कि फ़ीचर सूची में फ़ीचर slots हैं।
क्या मुझे हर फ़ीचर का संदर्भ पढ़ना होगा?
नहीं। स्किल सिर्फ़ उन संदर्भों को पढ़ने की सलाह देती है जो काम से मेल खाते हों।
जानकारी
लेखक का मूल विवरण
'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
- अपडेट की गई
- 21/10/2026
कमेंट
- …
इस repository की और skills
getting-started
29kयह आपके एजेंट को Alpine.js में TanStack Table से डेटा टेबल बनाना और दिखाना सिखाती है, जिसमें सेटअप, रिएक्टिव डेटा और पंक्तियाँ दिखाना शामिल है।
table-state
29kयह आपके एजेंट को Alpine.js में टेबल की स्थिति, जैसे मौजूदा पेज, पढ़ना और नियंत्रित करना सिखाती है, ताकि वह स्थिति बदलने पर स्क्रीन अपडेट हो।
devtools
29kयह आपके एजेंट को Angular टेबल को TanStack Devtools पैनल में रजिस्टर करना सिखाती है, ताकि डेवलपर ऐप बनाते समय हर टेबल की जांच कर सकें।
getting-started
29kयह आपके एजेंट को Angular में TanStack टेबल बनाना और दिखाना सिखाती है, जिसमें injectTable सेटअप, टेम्प्लेट रेंडरिंग और पंक्ति डेटा के अपडेट शामिल हैं।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।