2017-04-23 76 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“, –