@univerjs/sheets v0.4.2 • Docs
Function: convertPrimaryWithCoordToPrimary()
function convertPrimaryWithCoordToPrimary(primaryWithCoord): {
actualColumn: number;
actualRow: number;
endColumn: number;
endRow: number;
isMerged: boolean;
isMergedMainCell: boolean;
startColumn: number;
startRow: number;
}
Parameters
Parameter | Type |
---|---|
primaryWithCoord | ISelectionCellWithMergeInfo |
Returns
{
actualColumn: number;
actualRow: number;
endColumn: number;
endRow: number;
isMerged: boolean;
isMergedMainCell: boolean;
startColumn: number;
startRow: number;
}
Name | Type | Defined in |
---|---|---|
actualColumn | number | packages/sheets/src/basics/selection.ts:225 (opens in a new tab) |
actualRow | number | packages/sheets/src/basics/selection.ts:224 (opens in a new tab) |
endColumn | number | packages/sheets/src/basics/selection.ts:231 (opens in a new tab) |
endRow | number | packages/sheets/src/basics/selection.ts:230 (opens in a new tab) |
isMerged | boolean | packages/sheets/src/basics/selection.ts:226 (opens in a new tab) |
isMergedMainCell | boolean | packages/sheets/src/basics/selection.ts:227 (opens in a new tab) |
startColumn | number | packages/sheets/src/basics/selection.ts:229 (opens in a new tab) |
startRow | number | packages/sheets/src/basics/selection.ts:228 (opens in a new tab) |
Defined in
packages/sheets/src/basics/selection.ts:220 (opens in a new tab)