Wijmo UI for the Web
sortDirection Option

Default value: 'none'

Determines the sort direction. Possible values are: "none", "ascending" and "descending".

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").c1field("option", "sortDirection");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").c1field("option", "sortDirection", newValue);
        
});
Javascript (Specification) 
var sortDirection : string;
Example
$("#element").wijgrid({ columns: [{ sortDirection: "none" }]});
Remarks
Possible values are: "none": no sorting. "ascending": sort from smallest to largest. "descending": sort from largest to smallest.
Browser Compatibility
7
5
5

See Also

Reference

options type
c1field jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.