The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V18.2
19.1 (preview)
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

MasterFilterValues Type

Contains values that are used to select elements in the master filter item.

Declaration

export type MasterFilterValues = Array<Array<PrimitiveType>> | Array<itemDataTuple>

Members

Type Description
Array<itemDataTuple>
Array<itemDataTuple>

Remarks

Use the ViewerApiExtension.setMasterFilter method to set the master filter for a dashboard item.

The following code shows how to add filter values to the Grid dashboard item:

var filterValues = [['UK', 'Anne Dodsworth'], ['USA', 'Andrew Fuller']];
dashboardControl.GetDashboardControl().findExtension('viewer-api').setMasterFilter("gridSalesByState", filterValues);