ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / allowSorting Option
In This Topic
    allowSorting Option
    In This Topic
    Determines whether the widget can be sorted by clicking the column header.
    Syntax
    // Get value
    var value; // Type:  boolean
    value = $(".selector").c1gridview("option", "allowSorting");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").c1gridview("option", "allowSorting", newValue);
    var allowSorting : boolean;
    Example
    // Sort a column by clicking its header when allowSorting is set to true
    $("#element").wijgrid({ allowSorting: false });
    Browser Compatibility
    8
    5
    5
    See Also