Reputation: 979
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,
Upvotes: 0
Views: 194
Reputation: 1800
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.
Upvotes: 1