@univerjs/sheets v0.5.0-beta.1 • Docs
Interface: INumfmtService
Methods
deleteValues()
deleteValues(
unitId,
subUnitId,
values): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
values | IRange [] |
Returns
void
Defined in
submodules/univer/packages/sheets/src/services/numfmt/type.ts:63
getValue()
getValue(
unitId,
subUnitId,
row,
col,
model?): Nullable<INumfmtItemWithCache>
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
col | number |
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
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
values | { pattern : string ; ranges : IRange []; }[] |
Returns
void
Defined in
submodules/univer/packages/sheets/src/services/numfmt/type.ts:58