@univerjsengine-renderfunctionsGetcellbyindexwithmergeinfo

@univerjs/engine-render v0.5.0-beta.1Docs


Function: getCellByIndexWithMergeInfo()

function getCellByIndexWithMergeInfo(
   row, 
   column, 
   rowHeightAccumulation, 
   columnWidthAccumulation, 
   mergeDataInfo): ICellWithCoord

Parameters

ParameterTypeDescription
rownumberThe row index of the cell
columnnumberThe column index of the cell
rowHeightAccumulationnumber[]The accumulated height of each row
columnWidthAccumulationnumber[]The accumulated width of each column
mergeDataInfoICellInfo-

Returns

ICellWithCoord

The cell position information of the specified row and column, including the position information of the cell and the merge information of the cell

Deprecated

please use getCellWithCoordByIndexCore instead

Description

Get the cell position information of the specified row and column, including the position information of the cell and the merge information of the cell

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:609