@univerjs/sheets v0.4.2 • Docs
Class: RangeProtectionRenderModel
Constructors
new RangeProtectionRenderModel()
new RangeProtectionRenderModel(_selectionProtectionRuleModel, _permissionService): RangeProtectionRenderModel
Parameters
Parameter | Type |
---|---|
_selectionProtectionRuleModel | RangeProtectionRuleModel |
_permissionService | IPermissionService |
Returns
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
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
col | number |
Returns
Defined in
packages/sheets/src/model/range-protection-render.model.ts:79 (opens in a new tab)