Skip to main content

PivotGridWebOptionsView.VerticalScrollingMode Property

Gets or sets a value specifying the vertical scrolling mode.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(PivotScrollingMode.Standard)]
public PivotScrollingMode VerticalScrollingMode { get; set; }

Property Value

Type Default Description
PivotScrollingMode Standard

The PivotScrollingMode object that specifies the vertical 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:

Object Type Path to VerticalScrollingMode
ASPxPivotGrid
.OptionsView .VerticalScrollingMode

Remarks

Important

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

Use the PivotGridWebOptionsView.VerticalScrollBarMode property to control the visibility of the vertical scroll bar in the control. The height of the control scrollable area can be specified with the ASPxWebControl.Height property. The maximum number of rows that can be displayed within a page is specified by the PivotGridWebOptionsPager.RowsPerPage property. To get the active page index, use the PivotGridWebOptionsPager.PageIndex property.

In virtual scrolling mode, if the pager is used, the ASPxPivotGrid automatically switches to the required page.

To customize the horizontal scrolling mode, use the PivotGridWebOptionsView.HorizontalScrollingMode property.

See Also