Agents & OrchestrationSûr100100/100
Column Pinning (TanStack)
Pin columns into logical start, center, and end regions with columnPinningFeature and renderer-owned sticky CSS. Load for RTL offsets, z-index, backgrounds, overflow, widths, gaps, or overlaps.
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-pinning__tanstack-table__packages-table-core-skills-4a9ea7250ad4TanStack
TanStack/table
Contenu à copier
---
name: column-pinning
description: >
Pin columns into logical start, center, and end regions with columnPinningFeature and renderer-owned sticky CSS. Load for RTL offsets, z-index, backgrounds, overflow, widths, gaps, or overlaps.
metadata:
origin: TanStack
{ type: sub-skill, library: '@tanstack/table-core', library_version: '9.2.4' }
requires: ['core', 'table-features', 'column-sizing']
sources:
- 'TanStack/table:docs/framework/react/guide/column-pinning.md'
- 'TanStack/table:packages/table-core/src/features/column-pinning'
- 'TanStack/table:examples/react/column-pinning-sticky'
---
This skill builds on `core`, `table-features`, and `column-sizing`. Pinning partitions models; CSS creates the sticky visual result.
## Setup
```ts
import {
columnPinningFeature,
columnSizingFeature,
tableFeatures,
} from '@tanstack/table-core'
export const features = tableFeatures({
columnSizingFeature,
columnPinningFeature,
})
export const initialState = {
columnPinning: { start: ['name'], end: ['actions'] },
}
```
## Core Patterns
```ts
const style = (column: Column<any, any>) => ({
position: column.getIsPinned() ? 'sticky' : 'relative',
insetInlineStart:
column.getIsPinned() === 'start'
? `${column.getStart('start')}px`
: undefined,
insetInlineEnd:
column.getIsPinned() === 'end' ? `${column.getAfter('end')}px` : undefined,
width: `${column.getSize()}px`,
zIndex: column.getIsPinned() ? 1 : 0,
background: 'Canvas',
})
```
## Common Mistakes
### [HIGH] Using physical v8 regions
Wrong: `column.pin('left')`
Correct: `column.pin('start')`
V9 uses logical `start` and `end`, including state and collection APIs.
Source: `docs/framework/react/guide/migrating.md#column-pinning`
### [HIGH] Expecting sticky CSS automatically
Wrong: `column.pin('start')`
Correct: `Object.assign(cell.style, style(column))`
The feature only computes regions and offsets; the renderer owns positioning, backgrounds, overflow, and stacking.
Source: `examples/react/column-pinning-sticky/src/main.tsx`
### [HIGH] Diverging rendered and model widths
Wrong: `cell.style.width = 'auto'`
Correct: `cell.style.width = `${column.getSize()}px``
Sticky offsets use numeric sizes, so mismatched DOM widths create gaps or overlaps.
Source: `docs/framework/react/guide/column-pinning.md#useful-column-pinning-apis`
## API Discovery
Inspect `node_modules/@tanstack/table-core/dist/features/column-pinning/`; use CSS logical properties for direction-aware rendering.Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Column Pinning (TanStack)
Applique les pratiques du skill column-pinning__tanstack-table__packages-table-core-skills-4a9ea7250ad4.
Comment utiliser Column Pinning (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 Pinning (TanStack)
Dis simplement à ton agent quelque chose comme :
Applique le skill column-pinning__tanstack-table__packages-table-core-skills-4a9ea7250ad4 à cette tâche
Utilise column-pinning__tanstack-table__packages-table-core-skills-4a9ea7250ad4 pour améliorer cette implémentation
Passe en revue ce sujet avec column-pinning__tanstack-table__packages-table-core-skills-4a9ea7250ad4
Skills liés à Column Pinning (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.