Skip to content

Row

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/types.d.ts:61

  • CoreRow<TData>.VisibilityRow<TData>.ColumnPinningRow<TData>.RowPinningRow.ColumnFiltersRow<TData>.GroupingRow.RowSelectionRow.ExpandedRow

TData extends RowData

_getAllCellsByColumnId: () => Record<string, Cell<TData, unknown>>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:3

Record<string, Cell<TData, unknown>>

CoreRow._getAllCellsByColumnId


_getAllVisibleCells: () => Cell<TData, unknown>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnVisibility.d.ts:94

Cell<TData, unknown>[]

VisibilityRow._getAllVisibleCells


_groupingValuesCache: Record<string, any>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:82

GroupingRow._groupingValuesCache


_uniqueValuesCache: Record<string, unknown>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:4

CoreRow._uniqueValuesCache


_valuesCache: Record<string, unknown>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:5

CoreRow._valuesCache


columnFilters: Record<string, boolean>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnFiltering.d.ts:90

The column filters map for the row. This object tracks whether a row is passing/failing specific filters by their column ID.

API Docs

Guide

ColumnFiltersRow.columnFilters


columnFiltersMeta: Record<string, FilterMeta>

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnFiltering.d.ts:96

The column filters meta map for the row. This object tracks any filter meta for a row as optionally provided during the filtering process.

API Docs

Guide

ColumnFiltersRow.columnFiltersMeta


depth: number

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:11

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

API Docs

Guide

CoreRow.depth


getAllCells: () => Cell<TData, unknown>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:17

Returns all of the cells for the row.

Cell<TData, unknown>[]

API Docs

Guide

CoreRow.getAllCells


getCanExpand: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowExpanding.d.ts:14

Returns whether the row can be expanded.

boolean

API Docs

Guide

ExpandedRow.getCanExpand


getCanMultiSelect: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:41

Returns whether or not the row can multi-select.

boolean

API Docs

Guide

RowSelectionRow.getCanMultiSelect


getCanPin: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowPinning.d.ts:39

Returns whether or not the row can be pinned.

boolean

API Docs

Guide

RowPinningRow.getCanPin


getCanSelect: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:47

Returns whether or not the row can be selected.

boolean

API Docs

Guide

RowSelectionRow.getCanSelect


getCanSelectSubRows: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:53

Returns whether or not the row can select sub rows automatically when the parent row is selected.

boolean

API Docs

Guide

RowSelectionRow.getCanSelectSubRows


getCenterVisibleCells: () => Cell<TData, unknown>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnPinning.d.ts:74

Returns all center pinned (unpinned) leaf cells in the row.

Cell<TData, unknown>[]

API Docs

Guide

ColumnPinningRow.getCenterVisibleCells


getGroupingValue: (columnId) => unknown

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:88

Returns the grouping value for any row and column (including leaf rows).

string

unknown

API Docs

Guide

GroupingRow.getGroupingValue


getIsAllParentsExpanded: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowExpanding.d.ts:20

Returns whether all parent rows of the row are expanded.

boolean

API Docs

Guide

ExpandedRow.getIsAllParentsExpanded


getIsAllSubRowsSelected: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:59

Returns whether or not all of the row’s sub rows are selected.

boolean

API Docs

Guide

RowSelectionRow.getIsAllSubRowsSelected


getIsExpanded: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowExpanding.d.ts:26

Returns whether the row is expanded.

boolean

API Docs

Guide

ExpandedRow.getIsExpanded


getIsGrouped: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:94

Returns whether or not the row is currently grouped.

boolean

API Docs

Guide

GroupingRow.getIsGrouped


getIsPinned: () => RowPinningPosition

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowPinning.d.ts:45

Returns the pinned position of the row. ('top', 'bottom' or false)

RowPinningPosition

API Docs

Guide

RowPinningRow.getIsPinned


getIsSelected: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:65

Returns whether or not the row is selected.

boolean

API Docs

Guide

RowSelectionRow.getIsSelected


getIsSomeSelected: () => boolean

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:71

Returns whether or not some of the row’s sub rows are selected.

boolean

API Docs

Guide

RowSelectionRow.getIsSomeSelected


getLeafRows: () => Row<TData>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:23

Returns the leaf rows for the row, not including any parent rows.

Row<TData>[]

API Docs

Guide

CoreRow.getLeafRows


getLeftVisibleCells: () => Cell<TData, unknown>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnPinning.d.ts:80

Returns all left pinned leaf cells in the row.

Cell<TData, unknown>[]

API Docs

Guide

ColumnPinningRow.getLeftVisibleCells


getParentRow: () => Row<TData> | undefined

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:29

Returns the parent row for the row, if it exists.

Row<TData> | undefined

API Docs

Guide

CoreRow.getParentRow


getParentRows: () => Row<TData>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:35

Returns the parent rows for the row, all the way up to a root row.

Row<TData>[]

API Docs

Guide

CoreRow.getParentRows


getPinnedIndex: () => number

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowPinning.d.ts:51

Returns the numeric pinned index of the row within a pinned row group.

number

API Docs

Guide

RowPinningRow.getPinnedIndex


getRightVisibleCells: () => Cell<TData, unknown>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnPinning.d.ts:86

Returns all right pinned leaf cells in the row.

Cell<TData, unknown>[]

API Docs

Guide

ColumnPinningRow.getRightVisibleCells


getToggleExpandedHandler: () => () => void

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowExpanding.d.ts:32

Returns a function that can be used to toggle the expanded state of the row. This function can be used to bind to an event handler to a button.

(): void

void

API Docs

Guide

ExpandedRow.getToggleExpandedHandler


getToggleSelectedHandler: () => (event) => void

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:77

Returns a handler that can be used to toggle the row.

(event): void

unknown

void

API Docs

Guide

RowSelectionRow.getToggleSelectedHandler


getUniqueValues: <TValue>(columnId) => TValue[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:41

Returns a unique array of values from the row for a given columnId.

TValue

string

TValue[]

API Docs

Guide

CoreRow.getUniqueValues


getValue: <TValue>(columnId) => TValue

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:47

Returns the value from the row for a given columnId.

TValue

string

TValue

API Docs

Guide

CoreRow.getValue


getVisibleCells: () => Cell<TData, unknown>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnVisibility.d.ts:100

Returns an array of cells that account for column visibility for the row.

Cell<TData, unknown>[]

API Docs

Guide

VisibilityRow.getVisibleCells


optional groupingColumnId: string

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:100

If this row is grouped, this is the id of the column that this row is grouped by.

API Docs

Guide

GroupingRow.groupingColumnId


optional groupingValue: unknown

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/ColumnGrouping.d.ts:106

If this row is grouped, this is the unique/shared value for the groupingColumnId for all of the rows in this group.

API Docs

Guide

GroupingRow.groupingValue


id: string

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:53

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).

API Docs

Guide

CoreRow.id


index: number

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:59

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

API Docs

Guide

CoreRow.index


original: TData

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:65

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.

API Docs

Guide

CoreRow.original


optional originalSubRows: TData[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:71

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

API Docs

Guide

CoreRow.originalSubRows


optional parentId: string

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:77

If nested, this row’s parent row id.

API Docs

Guide

CoreRow.parentId


pin: (position, includeLeafRows?, includeParentRows?) => void

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowPinning.d.ts:57

Pins a row to the 'top' or 'bottom', or unpins the row to the center if false is passed.

RowPinningPosition

boolean

boolean

void

API Docs

Guide

RowPinningRow.pin


renderValue: <TValue>(columnId) => TValue

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:83

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

API Docs

Guide

CoreRow.renderValue


subRows: Row<TData>[]

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/core/row.d.ts:89

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

API Docs

Guide

CoreRow.subRows


toggleExpanded: (expanded?) => void

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowExpanding.d.ts:38

Toggles the expanded state (or sets it if expanded is provided) for the row.

boolean

void

API Docs

Guide

ExpandedRow.toggleExpanded


toggleSelected: (value?, opts?) => void

Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/features/RowSelection.d.ts:83

Selects/deselects the row.

boolean

boolean

void

API Docs

Guide

RowSelectionRow.toggleSelected