@univerjs-pro/engine-pivot v0.5.4
Function: getAutoDisplayName()
function getAutoDisplayName(baseName, subtotalType): string
Defined in: util.ts:49
- 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