2017-04-23 73 views
0

Exception: Call to Node module failed with error: Error: Template parse errors: Can't bind to 'filterable' since it isn't a known property of 'kendo-grid'.獲取例外劍道角度網格

  1. If 'kendo-grid' is an Angular component and it has 'filterable' input, then verify that it is part of this module.
  2. If 'kendo-grid' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component to suppress this message. (" <kendo-grid [data]="gridData" [ERROR ->][filterable]="true">
+0

你可以從你的'html'文件中寫下你想要綁定到'可過濾'屬性的代碼行嗎? – Shai

+0

<劍術柵[數據] = 「GRIDVIEW」 [排序] = 「TRUE」 [排序] = 「排序」 [分頁] = 「TRUE」 [pageSize的] = 「5」 [過濾] =」真正的「 (sortChange)=」sortChange($ event)「 > –

回答

0

您使用的是劍道UI電網的較舊版本的角2. filterable選項加入沒有那麼長前。從changelog看來它已於2017年3月24日添加到版本0.20.0中。

您使用的是哪個版本?

+0

帶有」@ progress/kendo-angular-grid「的Visual Studio 2015/17:」^ 0.28.0「, –