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

ASPxClientGridView.ColumnStartDragging Event

Fires when an end-user starts dragging the column's header and enables you to cancel this operation.

Declaration

ColumnStartDragging: ASPxClientEvent<ASPxClientGridViewColumnCancelEventHandler<ASPxClientGridView>>

Event Data

The ColumnStartDragging 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

If the ASPxGridViewBehaviorSettings.AllowDragDrop option is enabled, end-users can reorder columns and move individual columns to the Customization Window via drag and drop. The ColumnStartDragging event enables you to prevent the columns you desire from being moved. To do this, set the event parameter's cancel property to true. The processed client column is identified by the column property.

See Also