cell-selection
Installation
SKILL.md
This skill builds on core and table-features. cellSelection is an ordered operation log of rectangles, each stored as two corner cells identified by row and column id. It is not a per-cell map, and it is not positional. Table resolves the log into disjoint positive rectangles for membership and derived reads.
Setup
import { cellSelectionFeature, tableFeatures } from '@tanstack/table-core'
type Person = { id: string; name: string }
export const features = tableFeatures({ cellSelectionFeature })
export const options = {
getRowId: (row: Person) => row.id,
}
State shape: