Skip to main content

PivotGridOptionsOLAP.AllowTopNDrillDown Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
public bool AllowTopNDrillDown { get; set; }

Property Value

Type Description
Boolean

true, to allow the control to obtain 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
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsOLAP .AllowTopNDrillDown
ASP.NET MVC Extensions PivotGridSettings
.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