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

PivotGridOptionsOLAP.AllowTopNDrillDown Property

Gets or sets whether to allow obtaining drill-down data if Top N is applied.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

[DefaultValue(true)]
public bool AllowTopNDrillDown { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to allow obtaining drill-down data if Top N is applied; otherwise, false.

Property Paths

You can access this nested property as listed below:

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

Remarks

If the AllowTopNDrillDown property is set to false, the OLAPException will be thrown on an attempt to obtain drill-down data (for instance, using the PivotCellEventArgsBase<TField, TData, TCustomTotal>.CreateDrillDownDataSource method) if Top N applied. If AllowTopNDrillDown is set to true, all data will be returned (regardless of Top N applied).

See Also