row-selection

Installation
SKILL.md

This skill builds on core and table-features. Selection is independent ID state; selected row models can only materialize loaded rows.

Setup

import {
  rowSelectionFeature,
  tableFeatures,
  type Row,
} from '@tanstack/table-core'

type Person = { id: string; name: string }
export const features = tableFeatures({ rowSelectionFeature })
export const options = {
  getRowId: (row: Person) => row.id,
  enableSubRowSelection: false,
}
Installs
17
Repository
tanstack/table
GitHub Stars
28.4K
First Seen
Aug 4, 2026
row-selection — tanstack/table