0

I was wondering if you can set the column order programmatically in the kendo-grid for angular2?
I see in the documentation that there is a property columnIndex.

Thank you,

4

1 回答 1

1

The columns will be displayed in the order that they are set in the configuration. What you can do is pass an array of columns, loop them with *ngFor. And then reorder that array, so the changes will be reflected in the UI.

于 2016-11-08T08:21:46.413 回答