TanStack

cell_getIsCovered

Function: cell_getIsCovered()

ts
function cell_getIsCovered<TFeatures, TData, TValue>(cell): boolean;

Defined in: features/cell-spanning/cellSpanningFeature.utils.ts:423

Checks whether another cell's span covers this cell.

Covered cells must not be rendered; the cell that covers them carries the content and the span attributes.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends unknown = unknown

Parameters

cell

Cell<TFeatures, TData, TValue>

Returns

boolean

Example

ts
const isCovered = cell_getIsCovered(cell)