PivotGridFieldBase.GetVisibleValues() Method
Returns the field values currently shown in the PivotGrid.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
Returns
Type | Description |
---|---|
List<Object> | A collection of objects that represent the field values currently shown in the PivotGrid. |
Remarks
The collection returned by this method consists of unique field values stored in the underlying data source (PivotGridFieldBase.GetUniqueValues), except the values excluded by applying filters to other fields and the values filtered out by the filter applied directly to that field.
To obtain all values stored in the underlying data source in the current field, except the values excluded by applying filters to other fields, use the PivotGridFieldBase.GetAvailableValues method.
Note
If the PivotGridControl filters data by OLAP member unique names (controlled by the PivotGridFieldOptions.OLAPFilterByUniqueName and PivotGridOptionsOLAP.FilterByUniqueName options), the GetVisibleValues method returns them instead of field values.