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

ASPxClientGridView.ColumnResizing Event

Enables you to prevent columns from being resized.

Declaration

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 Gets or sets a value indicating whether the action which raised the event should be canceled. Inherited from ASPxClientCancelEventArgs.
column Gets the processed client column.

Remarks

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