Skip to main content

GridPersistentLayoutColumn Class

Contains information about layout settings for columns.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor


public class GridPersistentLayoutColumn :


The Grid allows you to save and restore its layout settings that a user can change in the UI. A GridPersistentLayout object stores layout settings at the Grid level. The GridPersistentLayout.Columns collection stores layout settings for columns. Each collection item (a GridPersistentLayoutColumn object) includes the following data:

Saved information Grid column parameter GridPersistentLayoutColumn’s property
Column type A column type defined in the markup: data, band, command, or selection. LayoutColumn.ColumnType
A data field name DxGridColumn.FieldName LayoutColumn.FieldName
Group index[1] DxGridColumn.GroupIndex LayoutColumn.GroupIndex
Sort index DxGridColumn.SortIndex LayoutColumn.SortIndex
Sort direction DxGridColumn.SortOrder LayoutColumn.SortOrder
Position DxGridColumn.VisibleIndex LayoutColumn.VisibleIndex
Visibility DxGridColumn.Visible LayoutColumn.Visible
Width DxGridColumn.Width LayoutColumn.Width

Handle the following events to save and restore the Grid layout automatically:

To save and restore the Grid layout on demand (for example, on a button click), call the following methods:


  1. The saved layout does not include information about expanded rows in groups.

See Also