$(function () { // Set filterOperatorsListShowing event handler function $(".selector").wijgrid({ filterOperatorsListShowing : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set filterOperatorsListShowing event handler function $(".selector").wijgrid({ filterOperatorsListShowing : function (e, args) { } }); });
// 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"; } } });