The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientGridView.ColumnResizing Event

Enables you to prevent columns from being resized.

Declaration

ColumnResizing: ASPxClientEvent<ASPxClientGridViewColumnCancelEventHandler<ASPxClientGridView>>

Event Data

The ColumnResizing event handler receives an argument of the ASPxClientGridViewColumnCancelEventArgs type. 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