Grid export to Excel not keeping column sort order

1 Answer 24 Views
Grid
CHRISTOPHER
Top achievements
Rank 1
Iron
CHRISTOPHER asked on 28 Mar 2025, 08:59 PM
Is it possible to force the grid .saveAsExcel() function to maintain the sort order of the columns if the user manually adjusts the sorting?

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 02 Apr 2025, 01:38 PM

Hi Christofer,

I tested the behavior by sorting the Grid manually and by using the dataSource.sort configuration option. In both cases, the generated Excel file is sorted based on the sort applied in the Grid. Here is a Dojo example where you can test the behavior: https://dojo.telerik.com/OenqxzEt. Could you please take a look and let me know if I am missing something?

Looking forward to your reply.

Regards,
Neli
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
Grid
Asked by
CHRISTOPHER
Top achievements
Rank 1
Iron
Answers by
Neli
Telerik team
Share this question
or