When I export to Excel using the Export to Excel button in a kendo grid, the Excel file generated has the grid column titles as the Excel column headers. Which is what I want.
When I export to Excel using the grid.exportSelectedToExcel(true), the generated file has the grid column fields as the Excel column headers. I don't want the field names exposed. How to prevent or change this? Thank you.
Code:

Results for each type of export. The top part of the image is the desired result.

When I export to Excel using the grid.exportSelectedToExcel(true), the generated file has the grid column fields as the Excel column headers. I don't want the field names exposed. How to prevent or change this? Thank you.
Code:
Results for each type of export. The top part of the image is the desired result.