Under Review
Last Updated: 23 Mar 2023 15:06 by ADMIN
Bradley
Created on: 17 Mar 2023 06:01
Category: Kendo UI for jQuery
Type: Bug Report
0
grid.exportSelectedToExcel(true) duplicates column headers
Hey all,

grid.exportSelectedToExcel(true) is working for continuous selection ranges, displaying the header column and then the selected entries in the excel file.

However, when the selection is not continuous (for example, maybe I have the first row selected and the third row selected, but not the second), for every row that is selected it adds a new column header row.

I've included some screenshots as an example:

SELECTED ROWS IN GRID:



EXPORTED USING grid.exportSelectedToExcel(true):



I have testesd this on multiple versions, including 2023.1.314 and 2022.2.621

I would appreciate any assistance with this.

Thanks
1 comment
ADMIN
Georgi Denchev
Posted on: 23 Mar 2023 15:06

Hello, Bradley,

This behavior of the selection & export mechanism is by design.

Please, have a look at my reply from 8th of March in the following thread:

https://feedback.telerik.com/kendo-jquery-ui/1598681-copy-grid-selection-with-headers-to-clipboard-with-locked-or-grouped-columns 

I'll speak to the Devs and see if this is valid as a Feature Request. If it is, I'll change the type of the feedback and approve it.

Best Regards,
Georgi Denchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.