newTotalColumnLocator()
Home > @gooddata/sdk-ui-pivot > newTotalColumnLocator
newTotalColumnLocator() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates a new total column locator
Signature:
export declare function newTotalColumnLocator(attributeOrId: IAttribute | string, totalFunction: string): ITotalColumnLocator;
Parameters
Parameter |
Type |
Description |
---|---|---|
attributeOrId |
IAttribute | string |
Column attribute specified by either value or by localId reference |
totalFunction |
string |
Function for the total, such as sum, max, min... |
Returns: