2017-09-08 222 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" 
     } 
    };