简体   繁体   English

具有自定义过滤器菜单的Kendo Grid无法正常工作

[英]Kendo Grid with custom filter menu not working

I've been really struggling to get a custom filter menu to work with the Kendo Grid. 我一直在努力获取自定义过滤器菜单以与Kendo Grid一起使用。

I've stripped down everything to a bare minimum and I still can't get it to work. 我已将所有内容减少到最低限度,但仍然无法正常工作。 I've created a jsFiddle which is a direct copy of Kendo's own demo -- it doesn't work here either. 我创建了一个jsFiddle ,它是Kendo自己的演示的直接副本-在这里也不起作用。

The cityFilter function is not called when activating the filter on the City column. 在“城市”列上激活过滤器时,不会调用cityFilter函数。

The demo works on the Kendo site though, so I'm stumped. 该演示虽然可以在剑道网站上运行,但是我很困惑。

Ensure that you are using the correct references.. 确保使用正确的引用。

<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://cdn.kendostatic.com/2012.3.1315/js/kendo.all.min.js"></script>
<link href="http://cdn.kendostatic.com/2012.3.1315/styles/kendo.common.min.css" rel="stylesheet">
<link href="http://cdn.kendostatic.com/2012.3.1315/styles/kendo.default.min.css" rel="stylesheet">

http://jsfiddle.net/pabloker/VvJ2N/6/ http://jsfiddle.net/pabloker/VvJ2N/6/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM