Skip to main content

Row_CoreProperties

还没翻译译自英文(tanstack.com)本页 45 段都还没译

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

Extended by

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

_cellsCache?

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

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


_displayIndexCache

_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

_uniqueValuesCache: Record<string, unknown>;

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


_valuesCache

_valuesCache: Record<string, unknown>;

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


depth

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

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

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

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?

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?

optional parentId?: string;

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

If nested, this row's parent row id.


subRows

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

table: Table_Internal<TFeatures, TData>;

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

Reference to the parent table instance.