Skip to main content

ASPxClientTreeList.ColumnResizing Event

Enables you to prevent columns from being resized.

#Declaration

TypeScript
ColumnResizing: ASPxClientEvent<ASPxClientTreeListColumnResizingEventHandler<ASPxClientTreeList>>

#Event Data

The ColumnResizing event's data class is ASPxClientTreeListColumnResizingEventArgs. 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.

#Remarks

The ColumnResizing event is in effect if column resizing is enalbed (the TreeListSettingsResizing.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 before performing custom actions every time a column is 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