@univerjs/sheets v0.4.2 • Docs
Function: transformCellDataToSelectionData()
function transformCellDataToSelectionData(
row,
column,
mergeData): Nullable<ISelectionWithStyle>
Parameters
Parameter | Type | Description |
---|---|---|
row | number | Specified Row Coordinate |
column | number | Specified Column Coordinate |
mergeData | IRange [] | Obtain the data of merged cells through the worksheet object. |
Returns
ISelectionWithStyle
Deprecated
Use worksheet.getCellInfoInMergeData or SpreadsheetSkeleton.getCellByIndex instead Convert the coordinates of a single cell into a selection data.
Defined in
packages/sheets/src/basics/selection.ts:243 (opens in a new tab)