Hello,
I have prepared an example, here's how you reproduce the bug (https://stackblitz.com/edit/angular-2nwrn7db?file=src%2Fapp%2Fapp.component.ts):
1. Move the Product Name column between the Category and Unit Price columns
2. Save the Grid state using the Save State button
3. Reload the page
4. Restore the saved state using the Load State button
5. The multi-column Test (k-grid0-col4) has the wrong OrderIndex (0 instead of 4)
Best regards,
Igor
Hi Igor,
Thank you for your report.
After investigating the behavior, I can confirm that this is an issue with how the Grid handles column group state restoration. When the Grid state is saved and loaded, column groups do not restore their reordered position; instead, they receive an incorrect order index, while child columns restore correctly.
For this reason, I logged a related bug report in our public GitHub repository:
You can track the progress of the fix implementation either in the above GitHub issue or here in the related Feedback Portal item. As a small token of gratitude for reporting this behavior, I updated your Telerik points.
In the meantime, until this issue is fixed, the developer can manually track and restore column group order by:
Here is the StackBlitz example from your reply, updated with the above workaround:
We apologize for any inconvenience the mentioned bug might have caused on your side.
Regards,
Zornitsa
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.