0

I have a really simple basic code for Kendo-ui angular2 grid. I am trying to get selectable to work and upgraded packages and everything but the selection does not work. Am I missing something?

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

This is what I have in 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",
4

1 回答 1

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

于 2016-11-22T07:48:23.553 回答