@univerjssheetsindexclassesRangeprotectionrendermodel

@univerjs/sheets v0.5.0-beta.1Docs


Class: RangeProtectionRenderModel

Constructors

new RangeProtectionRenderModel()

new RangeProtectionRenderModel(_selectionProtectionRuleModel, _permissionService): RangeProtectionRenderModel

Parameters

ParameterType
_selectionProtectionRuleModelRangeProtectionRuleModel
_permissionServiceIPermissionService

Returns

RangeProtectionRenderModel

Defined in

submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:30

Methods

clear()

clear(): void

Returns

void

Defined in

submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:106


getCellInfo()

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

Parameters

ParameterType
unitIdstring
subUnitIdstring
rownumber
colnumber

Returns

ICellPermission[]

Defined in

submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:79