PivotGridFieldBase.GetOLAPMemberProperties() Method
Returns a list of OLAP member properties.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
Returns
Type | Description |
---|---|
List<DevExpress.PivotGrid.OLAP.OLAPPropertyDescriptor> | A list of objects representing the OLAP member properties. |
Remarks
Note
Set the PivotGridFieldBase.SortMode property to PivotSortMode.DimensionAttribute to enable sorting by the OLAP member property.
To sort a pivot grid’s data by attribute, assign the property name to the PivotGridFieldBase.SortByAttribute property of the field you want to sort. To obtain OLAP member properties, use the GetOLAPMemberProperties method.
When using the PivotGridFieldBase.SortByAttribute method, the pivot grid field’s data is sorted in alphabetical order in ascending or descending order. To change the order, use the PivotGridFieldBase.SortOrder property.