ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / customFilterOperators Option
In This Topic
    customFilterOperators Option
    In This Topic
    An array of custom user filters. Use this option if you want to extend the default set of filter operators with your own. Custom filters will be shown in the filter dropdown.
    Syntax
    // Get value
    var value; // Type:  []
    value = $(".selector").c1gridview("option", "customFilterOperators");
    
    // Set value
    var newValue; // Type:  []
    $(".selector").c1gridview("option", "customFilterOperators", newValue);
    var customFilterOperators : ;
    Example
    var oddFilterOp = {
    name: "customOperator-Odd",
    arity: 1,
    applicableTo: ["number"],
    operator: function(dataVal) { return (dataVal % 2 !== 0); }
    }
    
                    * $("#element").wijgrid({ customFilterOperators: [oddFilterOp] });
    Browser Compatibility
    8
    5
    5
    See Also