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
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?