API Reference
@univerjs
@univerjs/engine-render
functions
Getcellbyindexwithmergeinfo

@univerjs/engine-render v0.4.2Docs


Function: getCellByIndexWithMergeInfo()

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

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
mergeDataInfoISelectionCell-

Returns

ISelectionCellWithMergeInfo

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

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

submodules/univer/packages/engine-render/src/basics/tools.ts:535 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.