ASPxClientGridView.ColumnResizing Event

Enables you to prevent columns from being resized.


ColumnResizing: ASPxClientEvent<ASPxClientGridViewColumnCancelEventHandler<ASPxClientGridView>>

Event Data

The ColumnResizing event's data class is ASPxClientGridViewColumnCancelEventArgs. The following properties provide information specific to this event:

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
column Gets the processed client column.


The ColumnResizing event is in effect if column resizing is enalbed (the ASPxGridViewBehaviorSettings.ColumnResizeMode property is not set to ColumnResizeMode.Disabled).

The ColumnResizing event is raised when an end-user tries to resize a column by dragging the right edge of its header. Handle this event to prevent particular columns from being resized. The processed client column is identified by the event parameter's column property. To cancel column resizing, set the cancel property to true.

See Also