Version

addSortColumn Method

Add a column to be sorted without posting back to the server.
Syntax
ASP.NET Ajax Javascript (Specification) 
function addSortColumn( 
   column : GridColumn,
   sortDirection : Integer
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfSorting.addSortColumn(GridColumn,Integer);

Parameters

column
Reference to the column that needs to be sorted.
sortDirection
Sorting direction. Corresponds to the server's SortDirection enumeration: 0 - None, 1 - Ascending, 2 - Descending.
See Also