aspnet-js-aspxclientgridcolumnbase.md
Serves as a base class for classes that implement the client column functionality.
declare class ASPxClientGridColumnBase
This object is the base for all the client-side column classes of grid-like controls. Client columns correspond to server columns that are stored within the grid-like controls’ Columns collections.
The following example illustrates how to access the grid’s column (the successor of the ASPxClientGridColumnBase class) on the client side and cancel the column sorting if the column’s field name is “Description”.
<script>
function OnColumnSorting(s, e) {
var processedColumn = e.column;
if (processedColumn.fieldName == "Description")
e.cancel = true;
}
</script>
<dx:ASPxGridView ID="grid" runat="server" ClientInstanceName="grid" ...>
<ClientSideEvents ColumnSorting="OnColumnSorting" />
//...
</dx:ASPxGridView>
ASPxClientGridColumnBase ASPxClientCardViewColumn