DataViewLoader
Home > @gooddata/sdk-ui > DataViewLoader
DataViewLoader class
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.
DataViewLoader allows you to speficy, load and access data results with convenient series and slices API.
Signature:
export declare class DataViewLoader
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
filterBy | (...filters: INullableFilter[]) => DataViewLoader | (ALPHA) Filters to apply on server side. | |
loadAll | () => Promise<DataViewFacade> | (ALPHA) Loads all the result data and wraps them in DataViewFacade. | |
loadWindow | (dataWindow: DataViewWindow) => Promise<DataViewFacade> | (ALPHA) Loads subset of the result data and wraps them in DataViewFacade. | |
seriesFrom | (...measuresAndScopingAttributes: IAttributeOrMeasure[]) => DataViewLoader | (ALPHA) Data series will be built using the provided measures that are further scoped for elements of the specified attributes. | |
slicesFrom | (...attributes: IAttribute[]) => DataViewLoader | (ALPHA) Slice all data series by elements of these attributes. | |
sortBy | (...sorts: ISortItem[]) => DataViewLoader | (ALPHA) Sorting to apply on server side. | |
withTotals | (...totals: ITotal[]) => DataViewLoader | (ALPHA) Include these totals among the data slices. |