Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Grouping Data

v
Collapse All Rows
Expand All Rows
Country Ascending
Contact Name 
Company Name 
City 
Region 
CollapseCountry: Argentina
 Patricio SimpsonCactus Comidas para llevarBuenos Aires 
 Yvonne MoncadaOcéano Atlántico Ltda.Buenos Aires 
 Sergio GutiérrezRancho grandeBuenos Aires 
CollapseCountry: Austria
 Roland MendelErnst HandelGraz 
 Georg PippsPiccolo und mehrSalzburg 
CollapseCountry: Belgium
 Catherine DeweyMaison DeweyBruxelles 
 Pascale CartrainSuprêmes délicesCharleroi 
Page 1 of 12 (112 items)Prev1234567101112Next

The DevExpress ASP.NET Grid View (ASPxGridView) allows you and your end-users to group data against unlimited columns using simple drag and drop operations. In this example, data is grouped by the Country column and sorted in ascending order.

Data grouping is allowed if the following grid properties are set to true:

End-users can group data by dragging column headers to the group panel. The panel's visibility is controlled by the Settings.ShowGroupPanel option.

Use the GroupCount property to get the number of columns used to group data. These columns can be obtained using the GetGroupedColumns method.


See Also:
Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxGridViewDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxGridViewDemos