jQuery.wijmo.c1gridview Namespace > options type : filterOperatorsListShowing Event |
var options; // Type: jQuery.wijmo.c1gridview.options // Create a new c1gridview widget $(".selector").c1gridview(options); // Get a previously created c1gridview widget instance var widgetInstance; // Type: jQuery.wijmo.c1gridview widgetInstance = $(".selector").data("wijmo-c1gridview"); // Set filterOperatorsListShowing event handler function widgetInstance.option("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"; } } });