Represents a filter used to select values for a PivotField.
There are two types of filter: by value and by condition.
Value filters allow users to select specific values they want to include in the analysis. This is done by checking specific values from a list.
Condition filters include two conditions specified by an operator and a value (e.g. 'begins with' and 's'). The conditions may be combined with an 'and' or an 'or' operator.
When the PivotEngine is connected to server-based data sources, only condition filters can be used (value filters are automatically hidden).
constructor(field: PivotField): PivotFilter
Initializes a new instance of the PivotFilter class.
PivotField that owns this filter.
Gets or sets the types of filtering provided by this filter.
Setting this property to null causes the filter to use the value defined by the owner filter's defaultFilterType property.
apply(value: any): boolean
Gets a value that indicates whether a value passes the filter.
The value to test.
clear(): void
Clears the filter.