filterContextItemsToDashboardFiltersByWidget()
Home > @gooddata/sdk-ui-dashboard > filterContextItemsToDashboardFiltersByWidget
filterContextItemsToDashboardFiltersByWidget() function
Gets IDashboardFilter items for filters specified as instances.
Signature:
export declare function filterContextItemsToDashboardFiltersByWidget(filterContextItems: FilterContextItem[], widget: Partial<IFilterableWidget>): IDashboardFilter[];
Parameters
Parameter | Type | Description |
---|---|---|
filterContextItems | FilterContextItem[] | filter context items to get filters for |
widget | Partial<IFilterableWidget> | widget to use to get dateDataSet for date filters |
Returns: