jQuery.wijmo.wijgrid Namespace > options type : customFilterOperators Field |
Default value: []
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.
Javascript (Usage) | |
---|---|
var value; // Type: value = jQuery.wijmo.wijgrid.options.customFilterOperators; |
Javascript (Specification) | |
---|---|
|
var oddFilterOp = { name: "customOperator-Odd", arity: 1, applicableTo: ["number"], operator: function(dataVal) { return (dataVal % 2 !== 0); } } $("#element").wijgrid({ customFilterOperators: [oddFilterOp] });