kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

Js exception is thrown when exporting a Grid with aggregates to Excel with the exportSelectedToExcel method

Open IvanDanchev opened this issue 3 years ago • 0 comments

Bug report

When calling the exportSelectedToExcel method and passing true to it, so that the headers are also exported, a js exception related to the aggregates (count, sum, etc.) is thrown.

Reproduction of the problem

Dojo example: https://dojo.telerik.com/UkIloRag/3

  1. Select a few cells and click the button above the Grid.

Current behavior

A js exception is thrown.

Expected/desired behavior

No js exception is thrown and the Grid is exported as expected.

Environment

  • Kendo UI version: 2022.2.621
  • jQuery version: x.y
  • Browser: [all]

IvanDanchev avatar Jun 30 '22 10:06 IvanDanchev