API Reference
@univerjs
@univerjs/sheets-ui
functions
Checkinheaderranges

@univerjs/sheets-ui v0.3.0Docs


Function: checkInHeaderRanges()

function checkInHeaderRanges(
   selections, 
   indexOfRowCol, 
rowOrCol): Nullable<ISelectionWithStyle>

Detect this row/col is in selections.

Parameters

ParameterType
selectionsreadonly ISelectionWithStyle[]
indexOfRowColnumber
rowOrColROW | COLUMN

Returns

Nullable<ISelectionWithStyle>

boolean

Defined in

packages/sheets-ui/src/controllers/utils/selections-tools.ts:103 (opens in a new tab)


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