API Reference
@univerjs
@univerjs/sheets
functions
Transformcelldatatoselectiondata

@univerjs/sheets v0.1.17Docs


Function: transformCellDataToSelectionData()

function transformCellDataToSelectionData(
   row, 
   column, 
mergeData): Nullable<ISelectionWithStyle>

Convert the coordinates of a single cell into a selection data.

Parameters

ParameterTypeDescription
rownumberSpecified Row Coordinate
columnnumberSpecified Column Coordinate
mergeDataIRange[]Obtain the data of merged cells through the worksheet object.

Returns

Nullable<ISelectionWithStyle>

ISelectionWithStyle

Defined in

packages/sheets/src/basics/selection.ts:237 (opens in a new tab)


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