getFilter(uniqueName: String): FilterObject
[starting from version: 1.4]
Returns the FilterObject for the specified field.
FilterObject that contains filtering information.
Note The FilterObject
is null
if the field contains one member and only the filter.members
, filter.exclude
, or filter.include
filter is defined.
pivot.setFilter("Country",
{
"members": [
"country.[poland]",
"country.[uk]",
"country.[ukraine]",
]
}
);
pivot.getFilter("Country");
/*
method getFilter() returns the following object:
{
"members": [
"country.[poland]",
"country.[uk]",
"country.[ukraine]",
]
}
*/
Try the example on JSFiddle.