Skip to content

Grid fails to restore column state (locked, sticky, reorder) after route change #4651

Open
@mbechev

Description

@mbechev

Description

The loadState method correctly restores the data operations state when changing routes, but all column-related features - resize, reorder, sticky, locked aren't restored correctly.

The returned object contains the correct values, but the Grid does not respect them

Steps To Reproduce

  1. Reorder columns and save the state.
  2. Click Navigate Away, to route to another component.
  3. Then click Go to Grid and restore the state.
  4. Notice the column order is the default one rather than the saved.

https://stackblitz.com/edit/angular-5cjpj8yf-npx5nqnb

Screenshots or video

No response

Actual Behavior

The Grid loads the correct state related to data operations - sorting, grouping etc. But fails in restoring column order, width, sticky/locked state when changing routes.

Expected Behavior

The Grid state should be persisted when routes are changed, including the columns state.

Browser

Chrome

Browser version

latest

OS type

MacOS

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions