The described result is expected, as the Grid is making modifications on its td
elements in order to show the unencoded data, but the data itself is not modified.
When the Grid is exported to Excel, we actually export the Grid data which in this scenarios is a string containing HTML tags.
I can suggest using the excelExport
event of the Grid to modify the data which will be exported to Excel.
I made a Dojo example demonstrating how to access all of the cells in a specific column and set them a new value:
I hope this will help you to achieve the desired result.
Telerik by Progress
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2
. Try it out today
! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.