Defined in: core/rows/coreRowsFeature.types.ts:47
TFeatures extends TableFeatures
TData extends RowData
_uniqueValuesCache: Record<string, unknown>;
Defined in: core/rows/coreRowsFeature.types.ts:11
Row_CoreProperties._uniqueValuesCache
_valuesCache: Record<string, unknown>;
Defined in: core/rows/coreRowsFeature.types.ts:12
Row_CoreProperties._valuesCache
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.
getAllCells: () => Cell<TFeatures, TData, unknown>[];
Defined in: core/rows/coreRowsFeature.types.ts:55
Returns all of the cells for the row.
Cell<TFeatures, TData, unknown>[]
getAllCellsByColumnId: () => Record<string, Cell<TFeatures, TData, unknown>>;
Defined in: core/rows/coreRowsFeature.types.ts:51
Record<string, Cell<TFeatures, TData, unknown>>
getLeafRows: () => Row<TFeatures, TData>[];
Defined in: core/rows/coreRowsFeature.types.ts:59
Returns the leaf rows for the row, not including any parent rows.
Row<TFeatures, TData>[]
getParentRow: () => Row<TFeatures, TData> | undefined;
Defined in: core/rows/coreRowsFeature.types.ts:63
Returns the parent row for the row, if it exists.
Row<TFeatures, TData> | undefined
getParentRows: () => Row<TFeatures, TData>[];
Defined in: core/rows/coreRowsFeature.types.ts:67
Returns the parent rows for the row, all the way up to a root row.
Row<TFeatures, TData>[]
getUniqueValues: <TValue>(columnId) => TValue[];
Defined in: core/rows/coreRowsFeature.types.ts:71
Returns a unique array of values from the row for a given columnId.
TValue
string
TValue[]
getValue: <TValue>(columnId) => TValue;
Defined in: core/rows/coreRowsFeature.types.ts:75
Returns the value from the row for a given columnId.
TValue
string
TValue
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: number;
Defined in: core/rows/coreRowsFeature.types.ts:24
The index of the row within its parent array (or the root data array).
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.
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.
Row_CoreProperties.originalSubRows
optional parentId: string;
Defined in: core/rows/coreRowsFeature.types.ts:36
If nested, this row's parent row id.
renderValue: <TValue>(columnId) => TValue;
Defined in: core/rows/coreRowsFeature.types.ts:79
Renders the value for the row in a given columnId the same as getValue, but will return the renderFallbackValue if no value is found.
TValue
string
TValue
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: Table_Internal<TFeatures, TData>;
Defined in: core/rows/coreRowsFeature.types.ts:44
Reference to the parent table instance.