2017-09-08 18 views
0

我的Kendo UI Builder网格的行筛选方法存在问题。Kendo UI Grid中的行筛选器的奇怪视图

当我将可筛选属性设置为"row""menu, row"时,网格将显示以下行筛选器。

enter image description here

你可以看到,没有输入区和过滤器本身看起来坏了。

这是我在controller.public.js中设置可过滤模式的代码。

this.$components.KDGrid.options.filterable = { 
    mode: "row" 
}; 

该网格由Progress的Kendo UI Builder版本2.0.0.87制作。

我失踪了什么?

回答

0

Got it! 如果修改可过滤模式,则还必须修改过滤器选项。

Documentation

this.$components.KDGrid.options.columns["0"].filterable = { 
     cell: { 
      showOperators: false, 
      operator: "gte" 
     } 
    };