@univerjs/sheets v0.4.2 • Docs
Interface: INumfmtService
Methods
deleteValues()
deleteValues(
unitId,
subUnitId,
values): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
values | IRange [] |
Returns
void
Defined in
packages/sheets/src/services/numfmt/type.ts:63 (opens in a new tab)
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
packages/sheets/src/services/numfmt/type.ts:51 (opens in a new tab)
setValues()
setValues(
unitId,
subUnitId,
values): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
values | { pattern : string ; ranges : IRange []; }[] |
Returns
void
Defined in
packages/sheets/src/services/numfmt/type.ts:58 (opens in a new tab)