wijmo.grid.wijgrid Namespace > options type : filtering Event |
Javascript (Usage) | |
---|---|
$(function () { // Set filtering event handler function $(".selector").wijgrid({ filtering : function (e, args) { } }); }); |
Javascript (Specification) | |
---|---|
filtering = function ( e : Object, args : IFilteringEventArgs ) { }; |
// Prevents filtering by negative values $("#element").wijgrid({ filtering: function (e, args) { if (args.column.dataKey == "Price" && args.value < 0) { args.value = 0; } } });