fixEmptyHeaderItems()
Home > @gooddata/sdk-ui-vis-commons > fixEmptyHeaderItems
fixEmptyHeaderItems() function
This function will mutate the incoming data view and replace headers with empty name with a fallback string. This is so that we can show "(empty)" or similar strings in the UI.
Signature:
export declare function fixEmptyHeaderItems(dataView: IDataView, emptyHeaderString: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
dataView | IDataView | view to mutate |
emptyHeaderString | string | value to use for empty strings |
Returns:
void