API Reference
@univerjs
@univerjs/sheets
classes
Rangeprotectionrendermodel

@univerjs/sheets v0.4.2Docs


Class: RangeProtectionRenderModel

Constructors

new RangeProtectionRenderModel()

new RangeProtectionRenderModel(_selectionProtectionRuleModel, _permissionService): RangeProtectionRenderModel

Parameters

ParameterType
_selectionProtectionRuleModelRangeProtectionRuleModel
_permissionServiceIPermissionService

Returns

RangeProtectionRenderModel

Defined in

packages/sheets/src/model/range-protection-render.model.ts:30 (opens in a new tab)

Methods

clear()

clear(): void

Returns

void

Defined in

packages/sheets/src/model/range-protection-render.model.ts:106 (opens in a new tab)


getCellInfo()

getCellInfo(
   unitId, 
   subUnitId, 
   row, 
   col): ICellPermission[]

Parameters

ParameterType
unitIdstring
subUnitIdstring
rownumber
colnumber

Returns

ICellPermission[]

Defined in

packages/sheets/src/model/range-protection-render.model.ts:79 (opens in a new tab)


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