New to Kendo UI for jQuery? Download free 30-day trial

Export Only the Text out of the HTML Content from Header, Footer, or Group Header Templates

Environment

Product Progress® Kendo UI® Grid for jQuery
Operating System Windows 7 64bit
Browser IE For PC
Browser Version Version 11.0.9600.18537

Description

When I style the header, footer, or group header template of the Grid by using HTML tags, the Excel files renders the whole HTML content.

How can I avoid the display of HTML content in the output Excel file and show just the data?

Solution

Configure the excelExport event by setting only the text value to the cells with jQuery.

For the full implementation of the solution, refer to this Dojo.

In this article