Wijmo UI for the Web
customFilterOperators Field
wijmo.grid Namespace > IDetailSettings Interface : customFilterOperators Field

Type: wijmo.grid.IFilterOperator[]

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
var instance; // Type: wijmo.grid.IDetailSettings;
var value; // Type: any
value = instance.customFilterOperators;
var customFilterOperators : any;
Example
var oddFilterOp = {
name: "customOperator-Odd",
arity: 1,
applicableTo: ["number"],
operator: function(dataVal) { return (dataVal % 2 !== 0); }
}
$("#element").wijgrid({ customFilterOperators: [oddFilterOp] });
See Also

Reference

IDetailSettings Interface