TanStack

Row_CoreProperties

Interface: Row_CoreProperties<TFeatures, TData>

Defined in: core/rows/coreRowsFeature.types.ts:8

Extended by

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

_cellsCache?

ts
optional _cellsCache: WeakMap<Column<TFeatures, TData, unknown>, Cell<TFeatures, TData, unknown>>;

Defined in: core/rows/coreRowsFeature.types.ts:12


_displayIndexCache

ts
_displayIndexCache: number;

Defined in: core/rows/coreRowsFeature.types.ts:25

Internal

Internal cache used while resolving the current display order.

This value may be stale until display order is recomputed. Use row.getDisplayIndex() instead; it refreshes and validates the cached position before returning it.


_uniqueValuesCache

ts
_uniqueValuesCache: Record<string, unknown>;

Defined in: core/rows/coreRowsFeature.types.ts:26


_valuesCache

ts
_valuesCache: Record<string, unknown>;

Defined in: core/rows/coreRowsFeature.types.ts:27


depth

ts
depth: number;

Defined in: core/rows/coreRowsFeature.types.ts:31

The depth of the row (if nested or grouped) relative to the root row array.


id

ts
id: string;

Defined in: core/rows/coreRowsFeature.types.ts:35

The resolved unique identifier for the row resolved via the options.getRowId option. Defaults to the row's index (or relative index if it is a subRow).


index

ts
index: number;

Defined in: core/rows/coreRowsFeature.types.ts:39

The index of the row within its parent array (or the root data array).


original

ts
original: TData;

Defined in: core/rows/coreRowsFeature.types.ts:43

The original row object provided to the table. If the row is a grouped row, the original row object will be the first original in the group.


originalSubRows?

ts
optional originalSubRows: readonly TData[];

Defined in: core/rows/coreRowsFeature.types.ts:47

An array of the original subRows as returned by the options.getSubRows option.


parentId?

ts
optional parentId: string;

Defined in: core/rows/coreRowsFeature.types.ts:51

If nested, this row's parent row id.


subRows

ts
subRows: Row<TFeatures, TData>[];

Defined in: core/rows/coreRowsFeature.types.ts:55

An array of subRows for the row as returned and created by the options.getSubRows option.


table

ts
table: Table_Internal<TFeatures, TData>;

Defined in: core/rows/coreRowsFeature.types.ts:59

Reference to the parent table instance.