New to Kendo UI for AngularStart a free 30-day trial

Persisting the Column Order in the Grid

Environment

ProductProgress® Kendo UI for Angular Grid

Description

How can I persist the order of the Grid columns?

Solution

Generate the Grid columns in the markup with the Angular *ngFor directive which iterates an array. This approach allows to reset the initial order of the columns when refreshing the browser, after the columns have been reordered, or at any other event.

Change Theme
Theme
Loading ...

For a more complex example on persisting the complete Grid state, refer to the article on persisting the state of the Grid.

In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support