Kendo-ui-angular2 grid selectable =" true"不工作

时间:2016-11-21 23:03:12

标签: kendo-grid kendo-ui-grid kendo-ui-angular2

我有一个非常简单的Kendo-ui angular2网格基本代码。我试图选择工作和升级包和一切,但选择不起作用。我错过了什么吗?



 <kendo-grid [data]="gridView" [selectable]="true"></kendo-grid>
&#13;
&#13;
&#13;

这就是我在package.json中所拥有的:

"@progress/kendo-angular-buttons": "^0.13.1",
"@progress/kendo-data-query": "^0.1.7",
"@progress/kendo-angular-grid": "^0.6.2",
"@telerik/kendo-theme-bootstrap": "^0.10.0",
"@telerik/kendo-theme-default": "^1.31.0",

1 个答案:

答案 0 :(得分:0)

我已经在这个plunkr测试了它,它的工作原理:

<kendo-grid [data]="gridView" [selectable]="true"></kendo-grid>

http://plnkr.co/edit/eYtBLMv45XFLcnbXn2ZW?p=preview

您确定需要引导程序和默认主题吗?是否正确加载了项目中的CSS,如下所示:

http://www.telerik.com/kendo-angular-ui/getting-started/#adding-the-styles