Back to Table

Row_CoreProperties

docs/reference/interfaces/Row_CoreProperties.md

8.21.33.3 KB
Original Source

Interface: Row_CoreProperties<TFeatures, TData>

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

Extended by

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

_uniqueValuesCache

ts
_uniqueValuesCache: Record<string, unknown>;

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


_valuesCache

ts
_valuesCache: Record<string, unknown>;

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


depth

ts
depth: number;

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

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:20

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:24

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:28

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:32

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:36

If nested, this row's parent row id.


subRows

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

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

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:44

Reference to the parent table instance.