ASPxClientGridView.ColumnResizing Event
In This Article
Enables you to prevent columns from being resized.
#Declaration
TypeScript
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 ASPx |
column | Gets the processed client column. |
#Remarks
The ColumnResizing
event is in effect if column resizing is enalbed (the ASPxGridViewResizingSettings.ColumnResizeMode property is not set to ColumnResizeMode.Disabled).
The ColumnResizing
event is raised when a 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