Skip to main content
A newer version of this page is available. .

Column Resizing

An end-user can modify the width of a grid column by resizing the corresponding column header.

ASPxGridView_ColumnResizing

You can access settings related to column resizing using the ASPxGridView.SettingsResizing property. Use the ASPxGridViewResizingSettings.ColumnResizeMode property to specify how grid columns can be resized. This property accepts one of the following values.

  • Disabled - An end-user cannot resize grid columns.
  • Control - When an end-user changes a column’s width, the control’s width is changed while the width of other columns stay unaffected.

    ColumnResizing_Control

  • NextColumn - Changing a column’s width, changes the next column’s width. The control’s width isn’t changed.

    ColumnResizing_NextColumn

The ASPxGridViewResizingSettings.Visualization property defines how the column resizing process is visually indicated. In the Live mode, the grid is redrawn continuously as an end-user drags a column.

ASPxGridView-LiveColumnResizing

When the Postponed mode is used, column resizing is visually indicated by a resizable frame, while the grid itself is redrawn only after resize operations have been completed.

ASPxGridView-PostponeColumnResizing

See Also