Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (143).NET Core  (22)Angular  (38)ASP.NET  (47)ASP.NET Core  (52)ASP.NET MVC  (83)Azure  (26)Blazor  (44)DocIO  (18)Essential JS 2  (64)Essential Studio  (159)Flutter  (46)JavaScript  (133)Microsoft  (96)PDF  (47)React  (29)Succinctly series  (118)Syncfusion  (382)TypeScript  (30)Uno Platform  (2)UWP  (4)Vue  (25)Webinar  (13)Windows Forms  (52)WPF  (85)Xamarin  (104)XlsIO  (20)Other CategoriesBarcode  (4)BI  (29)Bold BI  (3)Build conference  (6)Business intelligence  (53)Button  (4)C#  (97)Chart  (38)Cloud  (8)Company  (445)Dashboard  (4)Data Science  (3)Data Validation  (2)DataGrid  (27)Development  (232)Doc  (7)eBook  (89)Enterprise  (22)Entity Framework  (4)Essential Tools  (14)Excel  (11)Extensions  (6)File Manager  (3)Gantt  (6)Gauge  (4)Git  (3)Grid  (24)HTML  (8)Installer  (1)Knockout  (2)LINQPad  (1)Linux  (1)M-Commerce  (1)Metro Studio  (11)Mobile  (133)Mobile MVC  (9)OLAP server  (1)Orubase  (12)Partners  (20)PDF viewer  (15)Performance  (1)PHP  (1)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (5)Road Map  (9)Scheduler  (13)SfDataGrid  (7)Silverlight  (21)Sneak Peek  (12)Solution Services  (2)Spreadsheet  (2)SQL  (3)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (8)Tips and Tricks  (12)UI  (55)Uncategorized  (68)Unix  (2)User interface  (42)Visual State Manager  (1)Visual Studio  (12)Visual Studio Code  (6)Web  (84)What's new  (53)Windows 8  (19)Windows App  (1)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Share on twitter
Share on facebook
Share on linkedin

Paging in WinForms GridGrouping with Filter Support

image

Figure 1: Paging workflow in the GridGrouping control

 

When a large number of records is displayed in a grid, the records can be listed on many different pages. This typically means that a filter can only be applied to one page of records at a time.

However, there is a way filters can be applied to entire sets of records that span multiple pages using the Windows Forms GridGrouping control regardless of whether paging is enabled.

The Pager helper enables this by wiring the respective grid (GridGroupingControl) to its bound source (DataTable).

About Pager

Pager extracts the specific page from the bound data source and binds it to the GridGrouping control. With this specific feature, one may encounter a filtering restriction. This occurs because a grid can only control the records in the page bound to it, not all of the records in the bound data source. However, this limitation can be overcome through the engine by allowing it to handle the filtering separately. This can be done by wiring the respective view to the grid through a temporary table.

clip_image001

 

Figure 2: Paging-enabled GridGrouping control with 100 pages, each holding 1000 records (100,000 records in total)

 

How to wire?

The Pager can be wired to the GridGrouping control through the following settings:

clip_image003

The link below takes you to a sample that illustrates paging support in the GridGrouping control for a data table populated with 100,000 records.

Paging.zip

Tags:

Share this post:

Share on twitter
Share on facebook
Share on linkedin

Comments (2)

Hi,
I would like to download this file, how is this possible?

Hi Rafael,

You can download the sample from below location,
https://www.syncfusion.com/downloads/support/directtrac/249438/ze/gridgroupingcontrol-paging-671604880

We recommend to use SfDataGrid paging and you can refer below page for choosing between different Grid’s.
https://help.syncfusion.com/windowsforms/datagrid/overview#choose-between-different-grid-controls

User guide reference
https://help.syncfusion.com/windowsforms/datagrid/paging

Leave a comment

Popular Now

Be the first to get updates

Subscribe RSS feed
Scroll To Top