TanStack

RowSpanContext

Interface: RowSpanContext<TFeatures, TData, TValue>

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:51

Context passed to a spanRows predicate for each candidate row.

The run is anchored: anchorRow is the row whose cell will render the merged content, and every later row in the run is tested against it, which keeps runs transitive by construction. previousRow is provided for predicates that want a step-wise comparison instead.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends CellData = CellData

Properties

anchorRow

ts
anchorRow: Row<TFeatures, TData>;

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:56


anchorValue

ts
anchorValue: TValue;

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:57


column

ts
column: Column<TFeatures, TData, TValue>;

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:58


previousRow

ts
previousRow: Row<TFeatures, TData>;

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:59


row

ts
row: Row<TFeatures, TData>;

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:60


table

ts
table: Table<TFeatures, TData>;

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:61


value

ts
value: TValue;

Defined in: features/cell-spanning/cellSpanningFeature.types.ts:62