Wijmo UI for the Web
filtering Event
wijmo.grid.wijgrid Namespace > options type : filtering Event
The jQuery.Event object.
The data with this event.
The filtering event handler is a function that is called before the filtering operation is started. For example, you can use this event to change a filtering condition before a filter will be applied to the data. This event is cancellable.
Syntax
$(function () {
    // Set filtering event handler function
    $(".selector").wijgrid({
        filtering : function (e, args) {
     
        }
    });
});
filtering = function ( 
   e : Object,
   args : IFilteringEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Prevents filtering by negative values
$("#element").wijgrid({
    filtering: function (e, args) {
        if (args.column.dataKey == "Price" && args.value < 0) {
            args.value = 0;
        }
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ filtering: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridfiltering", function (e, args) { // some code here });
See Also

Reference

options type
wijgrid jQuery Widget