Version

sortColumn Method

Sorts a column.
Syntax
ASP.NET Ajax Javascript (Specification) 
function sortColumn( 
   column : GridColumn,
   sortDirection : Integer,
   clear : Boolean
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfSorting.sortColumn(GridColumn,Integer,Boolean);

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.
clear
Determines if previously sorted columns must be cleared.
See Also