$(function () { // Set filtering event handler function $(".selector").wijgrid({ filtering : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set filtering event handler function $(".selector").wijgrid({ filtering : function (e, args) { } }); });
// Prevents filtering by negative values $("#element").wijgrid({ filtering: function (e, args) { if (args.column.dataKey == "Price" && args.value < 0) { args.value = 0; } } });