- 2 minutes to read
The Bootstrap Grid View provides you with an ability to organize columns in logical groups (bands) and display them using multi-row representation.
There are two kinds of bands: header bands and data cell bands. Header bands are used to organize grid columns into logical groups by providing hierarchical multi-row headers. Data cell bands combine the functionality of header bands with the capability to present each data record in a hierarchical manner.
Accessing Columns in Banded Layout
The ability to define bands within the Grid View requires that the structure of the columns to be hierarchical. In this case, the Grid View’s BootstrapGridView.Columns property provides access only to root level columns. To make it easier to traverse through all columns, the Grid View introduces a specific ASPxCardView.AllColumns property, which provides access to a read-only collection containing all the grid columns.
In addition to being used for display purposes, bands can be dragged by end-users to re-order columns. This is extremely useful if you need to quickly re-arrange or hide columns while preserving their logical grouping. To learn more, refer to the Column Moving document.