Free Trial Buy Now

Grid Columns - Multi-Row Headers (Bands)

Drag a column header here to group by that column
Sales Person
Order
Company
Date
Product
Qty
Name
Country
Region
Name
Unit Price
Steven BuchananVins et alcools ChevalierFrance 8/4/1994Queso Cabrales1412
Steven BuchananVins et alcools ChevalierFrance 8/4/1994Singaporean Hokkien Fried Mee9.810
Steven BuchananVins et alcools ChevalierFrance 8/4/1994Mozzarella di Giovanni34.85
Michael SuyamaToms SpezialitätenGermany 8/5/1994Tofu18.69
Michael SuyamaToms SpezialitätenGermany 8/5/1994Manjimup Dried Apples42.440
Margaret PeacockHanari CarnesBrazilRJ8/8/1994Jack's New England Clam Chowder7.710
Margaret PeacockHanari CarnesBrazilRJ8/8/1994Manjimup Dried Apples42.435
Margaret PeacockHanari CarnesBrazilRJ8/8/1994Louisiana Fiery Hot Pepper Sauce16.815
Janet LeverlingVictuailles en stockFrance 8/8/1994Gustaf's Knäckebröd16.86
Janet LeverlingVictuailles en stockFrance 8/8/1994Ravioli Angelo15.615
Page 1 of 216 (2155 items)
Prev
1
2
3
4
5
6
7
214
215
216
Next

Description

The ASPxGridView's multi-row headers feature allows you to organize grid columns in logical groups (bands). This demo illustrates basic band functionality.

A band is visually represented by a header displayed above headers of the columns it combines. Each band is realized as a specific column type - GridViewBandColumn. A band column is a different kind of column - it is designed not to display data values directly, but to contain other (child) columns within its Columns collection. Therefore, it is possible to have a hierarchy of nested bands. Moreover, you can place a data column and a band column at the same hierarchy level.

Bands are not only used for display purposes. They can be dragged by end-users to re-order columns. This is extremely useful if you need to provide a quick way to re-arrange columns while preserving their logical grouping. Note that columns (and bands) are only allowed to move within their parent bands - you cannot move a child column from one parent band to another. This prevents end-users from breaking column grouping logic.

Resizing and column freezing features also work fine with bands. The only note is that column freezing (controlled by the FixedStyle property) can be applied only to columns and bands located at the root hierarchy level (i.e. within the grid's Columns collection).

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.