Wijmo UI for the Web
filterOperatorsListShowing Field
wijmo.grid Namespace > IWijgridOptions Interface : filterOperatorsListShowing Field

The filterOperatorsListShowing event handler is a function that is called before the filter drop-down list is shown. You can use this event to customize the list of filter operators for your users.

Syntax
var instance; // Type: wijmo.grid.IWijgridOptions;
var value; // Type: any
value = instance.filterOperatorsListShowing;
var filterOperatorsListShowing : any;
Example
// Limit the filters that will be shown to the "Equals" filter operator
$("#element").wijgrid({
    filterOperatorsListShowing: function (e, args) {
        args.operators = $.grep(args.operators, function(op) {
            return op.name === "Equals" || op.name === "NoFilter";
        }
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ filterOperatorsListShowing: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridfilteroperatorslistshowing", function (e, args) { // some code here });
See Also

Reference

IWijgridOptions Interface