Skip to main content
A newer version of this page is available. .

PivotGridOptionsOLAP.SortUsingDiscoverXmlMetadata Property

Gets or sets whether the PivotGrid uses the OrderBy attribute obtained from the OLAP server to sort data.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.WindowsDesktop.PivotGrid.Core

Declaration

[DefaultValue(false)]
public bool SortUsingDiscoverXmlMetadata { get; set; }

Property Value

Type Default Description
Boolean **false**

True, to support the OLAP server’s OrderBy attribute; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SortUsingDiscoverXmlMetadata
WinForms Controls PivotGridControl
.OptionsOLAP .SortUsingDiscoverXmlMetadata
Reporting XRPivotGrid
.OptionsOLAP .SortUsingDiscoverXmlMetadata
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsOLAP .SortUsingDiscoverXmlMetadata
PivotGridSettings
.OptionsOLAP .SortUsingDiscoverXmlMetadata
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsOLAP .SortUsingDiscoverXmlMetadata

Remarks

This property is in effect when the SortMode propety is set to Default.

If the SortUsingDiscoverXmlMetadata is set to true, the Pivot Grid sends a special DISCOVER_XML_METADATA request to get an actual attribute value and use this information to sort data.

This is not the default behavior because of backward compatibility. However, you should enable it to support the OLAP server’s OrderBy attribute.

See Also