fixEmptyHeaderItems()
Home > @gooddata/sdk-ui-vis-commons > fixEmptyHeaderItems
fixEmptyHeaderItems() function
Warning: This API is now obsolete.
try to avoid using this function and handle empty headers when displaying them
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