Version

getSortDirection Method

Returns a column's sort direction. The method can be used to check if the column is sorted. The returned value corresponds to the server's SortDirection enumeration: 0 - None, 1 - Ascending, 2 - Descending.
Syntax
ASP.NET Ajax Javascript (Specification) 
function getSortDirection( 
   column : GridColumn
) : Integer;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfSorting.getSortDirection(GridColumn);

Parameters

column
A reference to the column to get the sort direction for.
See Also