Kendo Grid filter event with OData

I have a kendo grid with a dataSource and the dataSource has the following options:

type: "odata-v4",
serverFiltering: true,
serverPaging: true,
serverSorting: true

Within the grid options I have the following:

sortable: true,
resizable: true,
reorderable: true,
filterable: true,
filter: function(e) {
   console.log(e)
},

However the filter event never fires. Is it possible to perform server side filtering and have the filter event fire? I need to get hold of the filter before the dataSource performs any operations and extend the filter and therefore would prefer to do this without writing custom code for the dataSource.

Edit I have a custom filter on the column I'm trying to trap.


网格的filter事件在Kendo UI版本2016.3.914中引入 - 如果您使用的是旧版本,请升级。

链接地址: http://www.djcxy.com/p/70440.html

上一篇: Kendo Grid MVC / ASP.Net在编辑期间禁用字段

下一篇: 带有OData的Kendo网格过滤器事件