Row
Defined in: node_modules/.pnpm/@tanstack+table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/types.d.ts:61
Extends
Section titled “Extends”CoreRow<TData>.VisibilityRow<TData>.ColumnPinningRow<TData>.RowPinningRow.ColumnFiltersRow<TData>.GroupingRow.RowSelectionRow.ExpandedRow
Type Parameters
Section titled “Type Parameters”TData extends RowData
Properties
Section titled “Properties”_getAllCellsByColumnId()
Section titled “_getAllCellsByColumnId()”_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
Returns
Section titled “Returns”Record<string, Cell<TData, unknown>>
Inherited from
Section titled “Inherited from”CoreRow._getAllCellsByColumnId
_getAllVisibleCells()
Section titled “_getAllVisibleCells()”_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
Returns
Section titled “Returns”Cell<TData, unknown>[]
Inherited from
Section titled “Inherited from”VisibilityRow._getAllVisibleCells
_groupingValuesCache
Section titled “_groupingValuesCache”_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
Inherited from
Section titled “Inherited from”GroupingRow._groupingValuesCache
_uniqueValuesCache
Section titled “_uniqueValuesCache”_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
Inherited from
Section titled “Inherited from”CoreRow._uniqueValuesCache
_valuesCache
Section titled “_valuesCache”_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
Inherited from
Section titled “Inherited from”CoreRow._valuesCache
columnFilters
Section titled “columnFilters”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.
Inherited from
Section titled “Inherited from”ColumnFiltersRow.columnFilters
columnFiltersMeta
Section titled “columnFiltersMeta”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.
Inherited from
Section titled “Inherited from”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.
Inherited from
Section titled “Inherited from”CoreRow.depth
getAllCells()
Section titled “getAllCells()”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.
Returns
Section titled “Returns”Cell<TData, unknown>[]
Inherited from
Section titled “Inherited from”CoreRow.getAllCells
getCanExpand()
Section titled “getCanExpand()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”ExpandedRow.getCanExpand
getCanMultiSelect()
Section titled “getCanMultiSelect()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”RowSelectionRow.getCanMultiSelect
getCanPin()
Section titled “getCanPin()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”RowPinningRow.getCanPin
getCanSelect()
Section titled “getCanSelect()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”RowSelectionRow.getCanSelect
getCanSelectSubRows()
Section titled “getCanSelectSubRows()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”RowSelectionRow.getCanSelectSubRows
getCenterVisibleCells()
Section titled “getCenterVisibleCells()”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.
Returns
Section titled “Returns”Cell<TData, unknown>[]
Inherited from
Section titled “Inherited from”ColumnPinningRow.getCenterVisibleCells
getGroupingValue()
Section titled “getGroupingValue()”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).
Parameters
Section titled “Parameters”columnId
Section titled “columnId”string
Returns
Section titled “Returns”unknown
Inherited from
Section titled “Inherited from”GroupingRow.getGroupingValue
getIsAllParentsExpanded()
Section titled “getIsAllParentsExpanded()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”ExpandedRow.getIsAllParentsExpanded
getIsAllSubRowsSelected()
Section titled “getIsAllSubRowsSelected()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”RowSelectionRow.getIsAllSubRowsSelected
getIsExpanded()
Section titled “getIsExpanded()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”ExpandedRow.getIsExpanded
getIsGrouped()
Section titled “getIsGrouped()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”GroupingRow.getIsGrouped
getIsPinned()
Section titled “getIsPinned()”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)
Returns
Section titled “Returns”RowPinningPosition
Inherited from
Section titled “Inherited from”RowPinningRow.getIsPinned
getIsSelected()
Section titled “getIsSelected()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”RowSelectionRow.getIsSelected
getIsSomeSelected()
Section titled “getIsSomeSelected()”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.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”RowSelectionRow.getIsSomeSelected
getLeafRows()
Section titled “getLeafRows()”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.
Returns
Section titled “Returns”Row<TData>[]
Inherited from
Section titled “Inherited from”CoreRow.getLeafRows
getLeftVisibleCells()
Section titled “getLeftVisibleCells()”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.
Returns
Section titled “Returns”Cell<TData, unknown>[]
Inherited from
Section titled “Inherited from”ColumnPinningRow.getLeftVisibleCells
getParentRow()
Section titled “getParentRow()”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.
Returns
Section titled “Returns”Row<TData> | undefined
Inherited from
Section titled “Inherited from”CoreRow.getParentRow
getParentRows()
Section titled “getParentRows()”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.
Returns
Section titled “Returns”Row<TData>[]
Inherited from
Section titled “Inherited from”CoreRow.getParentRows
getPinnedIndex()
Section titled “getPinnedIndex()”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.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”RowPinningRow.getPinnedIndex
getRightVisibleCells()
Section titled “getRightVisibleCells()”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.
Returns
Section titled “Returns”Cell<TData, unknown>[]
Inherited from
Section titled “Inherited from”ColumnPinningRow.getRightVisibleCells
getToggleExpandedHandler()
Section titled “getToggleExpandedHandler()”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.
Returns
Section titled “Returns”():
void
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”ExpandedRow.getToggleExpandedHandler
getToggleSelectedHandler()
Section titled “getToggleSelectedHandler()”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.
Returns
Section titled “Returns”(
event):void
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”RowSelectionRow.getToggleSelectedHandler
getUniqueValues()
Section titled “getUniqueValues()”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.
Type Parameters
Section titled “Type Parameters”TValue
Section titled “TValue”TValue
Parameters
Section titled “Parameters”columnId
Section titled “columnId”string
Returns
Section titled “Returns”TValue[]
Inherited from
Section titled “Inherited from”CoreRow.getUniqueValues
getValue()
Section titled “getValue()”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.
Type Parameters
Section titled “Type Parameters”TValue
Section titled “TValue”TValue
Parameters
Section titled “Parameters”columnId
Section titled “columnId”string
Returns
Section titled “Returns”TValue
Inherited from
Section titled “Inherited from”CoreRow.getValue
getVisibleCells()
Section titled “getVisibleCells()”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.
Returns
Section titled “Returns”Cell<TData, unknown>[]
Inherited from
Section titled “Inherited from”VisibilityRow.getVisibleCells
groupingColumnId?
Section titled “groupingColumnId?”
optionalgroupingColumnId: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.
Inherited from
Section titled “Inherited from”GroupingRow.groupingColumnId
groupingValue?
Section titled “groupingValue?”
optionalgroupingValue: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.
Inherited from
Section titled “Inherited from”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).
Inherited from
Section titled “Inherited from”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).
Inherited from
Section titled “Inherited from”CoreRow.index
original
Section titled “original”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.
Inherited from
Section titled “Inherited from”CoreRow.original
originalSubRows?
Section titled “originalSubRows?”
optionaloriginalSubRows: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.
Inherited from
Section titled “Inherited from”CoreRow.originalSubRows
parentId?
Section titled “parentId?”
optionalparentId: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.
Inherited from
Section titled “Inherited from”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.
Parameters
Section titled “Parameters”position
Section titled “position”RowPinningPosition
includeLeafRows?
Section titled “includeLeafRows?”boolean
includeParentRows?
Section titled “includeParentRows?”boolean
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”RowPinningRow.pin
renderValue()
Section titled “renderValue()”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.
Type Parameters
Section titled “Type Parameters”TValue
Section titled “TValue”TValue
Parameters
Section titled “Parameters”columnId
Section titled “columnId”string
Returns
Section titled “Returns”TValue
Inherited from
Section titled “Inherited from”CoreRow.renderValue
subRows
Section titled “subRows”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.
Inherited from
Section titled “Inherited from”CoreRow.subRows
toggleExpanded()
Section titled “toggleExpanded()”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.
Parameters
Section titled “Parameters”expanded?
Section titled “expanded?”boolean
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”ExpandedRow.toggleExpanded
toggleSelected()
Section titled “toggleSelected()”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.
Parameters
Section titled “Parameters”value?
Section titled “value?”boolean
selectChildren?
Section titled “selectChildren?”boolean
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”RowSelectionRow.toggleSelected