ASPxClientGridColumnBase Class
Serves as a base class for classes that implement the client column functionality.
Declaration
declare class ASPxClientGridColumnBase
Remarks
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.
Example
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>