The DevExpress ASP.NET MVC Grid View allows you to anchor columns to the left edge. When fixed, columns are always displayed, and not scrolled horizontally with the grid. This feature is active when horizontal scrolling is enabled via the Settings.HorizontalScrollBarMode property, and the total width of the columns exceeds the grid's width. To fix a column, set its FixedStyle property value to Left. Non-fixed columns (whose FixedStyle property is set to None) cannot be positioned before fixed columns.
The style settings of fixed columns can be customized by the Styles.FixedColumn property.
Fixed columns support complex layout scenarios that utilize such features as grouping, detail rows, preview rows and row templates. This demo illustrates the use of fixed columns within a grouped grid.
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).
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos |