Skip to main content

ASPxClientGridViewColumnCancelEventArgs Class

Provides data for the cancelable events of a client ASPxGridView column.

Declaration

declare class ASPxClientGridViewColumnCancelEventArgs extends ASPxClientCancelEventArgs

Remarks

The ASPxClientGridViewColumnCancelEventArgs class provides the ASPxClientGridViewColumnCancelEventArgs.column property that identifies the client column currently being processed.

<script>
function OnColumnSorting(s, e) {
    if (e.column.fieldName == "Description")  
        e.cancel = true;  
}  
</script>

<dx:ASPxGridView ID="grid" runat="server" ClientInstanceName="grid" ...>
    <ClientSideEvents ColumnSorting="OnColumnSorting" />
    //...
</dx:ASPxGridView>

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientGridViewColumnCancelEventArgs
See Also