Wijmo UI for the Web
filterOperatorsSortMode Option

Default value: 'alphabeticalCustomFirst'

Determines the order of items in the filter drop-down list. Possible values are: "none", "alphabetical", "alphabeticalCustomFirst" and "alphabeticalEmbeddedFirst"

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijgrid("option", "filterOperatorsSortMode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijgrid("option", "filterOperatorsSortMode", newValue);
        
});
Javascript (Specification) 
var filterOperatorsSortMode : string;
Example
$("#element").wijgrid({ filterOperatorsSortMode: "alphabeticalCustomFirst" });
Remarks
Possible values are: "none": Operators follow the order of addition; built-in operators appear before custom ones. "alphabetical": Operators are sorted alphabetically. "alphabeticalCustomFirst": Operators are sorted alphabetically with custom operators appearing before built-in ones. "alphabeticalEmbeddedFirst": Operators are sorted alphabetically with built-in operators appearing before custom operators. "NoFilter" operator is always first.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.