filterContextToDashboardFiltersByWidget()
Home > @gooddata/sdk-ui-dashboard > filterContextToDashboardFiltersByWidget
filterContextToDashboardFiltersByWidget() function
Gets IDashboardFilter items for filters specified in given filterContext in relation to the given widget.
Signature:
export declare function filterContextToDashboardFiltersByWidget(filterContext: IFilterContextDefinition | IFilterContext | ITempFilterContext | undefined, widget: IWidgetDefinition): IDashboardFilter[];
Parameters
Parameter | Type | Description |
---|---|---|
filterContext | IFilterContextDefinition | IFilterContext | ITempFilterContext | undefined | filter context to get filters for |
widget | IWidgetDefinition | widget to use to get dateDataSet for date filters |
Returns: