[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Collapse]Vertical Grid
    Overview - VerticalGrid
    Main Features
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Expand]Data Editing and Validation
    [Collapse]Focus and Navigation
     [Collapse]Paging and Scrolling
       Data Paging
       Horizontal Scrolling
       Vertical Scrolling
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]Query Builder
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Horizontal Scrolling

The ASPxVerticalGridPagerSettings.PageSize property specifies the maximum number of records that the grid can display on a single page. The grid automatically resizes its records to fit the grid's width.

The horizontal scrollbar allows you to show more records on a single VerticalGrid page without changing records' widths.

Use the ASPxGridSettings.HorizontalScrollBarMode property to enable horizontal scrolling.

The grid hides its last record when it displays a horizontal scrollbar and has fixed records because this makes a record wider than the visible scrollable area. Use one of the following approaches to avoid this limitation:


End-users cannot switch pages using swipe gestures (the GridSettingsBase.EnablePagingGestures property is not in effect) when the vertical grid extension uses a horizontal scrollbar.

Expanded Example

The code sample below illustrates how to enable the horizontal scrollbar in the VerticalGrid extension.

Partial View code:

Is this topic helpful?​​​​​​​