本页还没有译文
本页 18 段还没译成Español,下面显示的是英文原文。cell_getRowSpan
还没翻译译自英文(tanstack.com)本页 18 段都还没译
function cell_getRowSpan<TFeatures, TData, TValue>(cell): number;Defined in: features/cell-spanning/cellSpanningFeature.utils.ts:366
Returns how many rows this cell spans.
1 when it does not span, and 0 when a spanning cell above it covers it,
matching the header.rowSpan convention where 0 means "skip this cell".
Deliberately not memoized: a per-cell memo would allocate a closure and a dependency array for every cell, costing more than the two lookups this performs against the table-level span index.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
TValue
TValue extends unknown = unknown
Parameters
cell
Cell<TFeatures, TData, TValue>
Returns
number
Example
const rowSpan = cell_getRowSpan(cell)AI 翻译查看英文原文