@univerjs-pro/engine-pivot v0.5.0-beta.1 • Docs
Function: getAutoDisplayName()
function getAutoDisplayName(baseName, subtotalType): string
- Get the auto display name of the value field.
Parameters
Parameter | Type | Description |
---|---|---|
baseName | string | the name without prefix text |
subtotalType | PivotSubtotalTypeEnum | the type of subtotal to be displayed for this value field. |
Returns
string
the auto display name of the value field.
Description
- which may use prefix text like excel
- the prefix text is create by subtotal type
Defined in
util.ts:49