[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Collapse]Data Grid
   [Expand]Getting Started
   [Expand]Implementation Details
   [Expand]Views
   [Expand]Grid View Data Layout
   [Expand]Binding to Data
   [Expand]Master-Detail Data Representation
   [Expand]Data Editing and Validation
   [Expand]Grouping
   [Expand]Filtering and Searching
   [Expand]Sorting
   [Expand]Data Summaries
   [Collapse]Paging and Scrolling
     Data Paging
     Data Scrolling Overview
     Table and TreeList View Scrolling in Code
     Card View Scrolling in Code
     Per-Pixel Scrolling
     Cascading Data Updates
     Fixed Group Rows
     Column Headers Horizontal Scrolling
     Touch Scrollbars
     Scrollbar Annotations
     Fixed Rows
   [Expand]Focus, Navigation, Selection
   [Expand]Drag-and-Drop
   [Expand]Conditional Formatting
   [Expand]Appearance Customization
   [Expand]MVVM Enhancements
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Expand]Miscellaneous
   [Expand]Performance Improvement
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Data Paging

The GridControl allows you to display its content across multiple pages. End-users can use the built-in pager to navigate through the GridControl's data:

Note

The TreeList View does not support data paging.

Expanded Enabling Data Paging

Set the GridViewBase.AllowPaging property to true to enable data paging:

The table below describes how Data Paging works depending on the data binding mode:

Data Binding Mode

How Data Paging Works

Regular Mode

The GridControl loads all data to memory. End-users use the pager to navigate through loaded data.

Server Mode

The GridControl loads and displays the first portion of data from the data source and requests subsequent data sections when an end-user navigates to another page.

The GridControl caches data internally. Data is not reloaded when end-users navigate to previous pages.

Virtual Sources

The PagedSource and PagedAsyncSource allow you to request data manually. You can obtain the current page's rows or load all data at once.

The GridControl caches data internally. The PagedAsyncSource.FetchPage and PagedSource.FetchPage events are not invoked when end-users navigate to a previous page.

Expanded Data Paging Options

The GridControl has the following properties and events to allow you to control data paging manually:

Method Description
GridViewBase.PageSize Gets or sets the maximum number of rows that can be displayed on a page.
GridViewBase.CurrentPageIndex Gets or sets the index of the current page.
GridViewBase.PageCount Gets the number of pages displayed in the GridControl.
GridViewBase.PagerNumericButtonCount Gets or sets the maximum number of numeric buttons that can be displayed within the pager control.
GridViewBase.CurrentPageIndexChanging Occurs before the selected page is changed.
GridViewBase.CurrentPageIndexChanged Occurs after the selected page is changed.

Expanded Data Paging Limitations

Data paging does not support the following features:

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