PivotGridWebOptionsView.HorizontalScrollingMode Property

Gets or sets a value specifying the horizontal scrolling mode.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v20.2.dll

Declaration

[DefaultValue(PivotScrollingMode.Standard)]
public PivotScrollingMode HorizontalScrollingMode { get; set; }
<DefaultValue(PivotScrollingMode.Standard)>
Public Property HorizontalScrollingMode As PivotScrollingMode

Property Value

Type Default Description
PivotScrollingMode

Standard

The PivotScrollingMode object, that specifies the horizontal scrolling mode.

Available values:

Name Description
Standard

Allows end-users to scroll data rows/columns displayed within the current page.

Virtual

Allows end-users to navigate through pivot grid pages using a scrollbar.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to HorizontalScrollingMode
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsView.HorizontalScrollingMode
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsView.HorizontalScrollingMode
PivotGridSettings
.OptionsView.HorizontalScrollingMode

Remarks

IMPORTANT

To use the PivotScrollingMode.Virtual mode, you should enable the scroll bar. To do this, set the PivotGridWebOptionsView.HorizontalScrollBarMode property to Visible or Auto.

Use the PivotGridWebOptionsView.HorizontalScrollBarMode property to control the visibility of the horizontal scroll bar in the control. The width of the control scrollable area can be specified with the ASPxPivotGrid.Width property. The maximum number of columns that can be displayed on a page is specified by the PivotGridWebOptionsPager.ColumnsPerPage property. To get the index of the active column page, use the PivotGridWebOptionsPager.ColumnPageIndex property.

To customize the vertical scrolling mode, use the PivotGridWebOptionsView.VerticalScrollingMode property.

See Also