PivotGroupFilterValues.FindFilterValue(Object[]) Method
Returns a filter value that corresponds to the specified group value.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public PivotGroupFilterValue FindFilterValue(
params object[] values
)
#Parameters
Name | Type | Description |
---|---|---|
values | Object[] | An array of field values that identify the group value. |
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
#Remarks
Consider a field group that contains three fields - Year, Quarter and Month - and whose filter condition is set as shown in the image below:
The following table demonstrates how to use the FindFilterValue method to obtain filter values by the corresponding group values.
Group Value | Method Usage |
---|---|
1994 | filter |
Quarter 3 | 1994 | filter |
August | Quarter 3 | 1994 | filter |
To determine whether the current filter condition allows processing a particular group value, use the PivotGroupFilterValues.Contains method.