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


Interface: INumfmtService

Methods

deleteValues()

deleteValues(
   unitId, 
   subUnitId, 
   values): void

Parameters

ParameterType
unitIdstring
subUnitIdstring
valuesIRange[]

Returns

void

Defined in

submodules/univer/packages/sheets/src/services/numfmt/type.ts:63


getValue()

getValue(
   unitId, 
   subUnitId, 
   row, 
   col, 
model?): Nullable<INumfmtItemWithCache>

Parameters

ParameterType
unitIdstring
subUnitIdstring
rownumber
colnumber
model?ObjectMatrix<INumfmtItem>

Returns

Nullable<INumfmtItemWithCache>

Defined in

submodules/univer/packages/sheets/src/services/numfmt/type.ts:51


setValues()

setValues(
   unitId, 
   subUnitId, 
   values): void

Parameters

ParameterType
unitIdstring
subUnitIdstring
values{ pattern: string; ranges: IRange[]; }[]

Returns

void

Defined in

submodules/univer/packages/sheets/src/services/numfmt/type.ts:58