When export the grid to excel is there a way to tell it to use the row colors the grid shows on the page?
Thanks.
1 Answer, 1 is accepted
0
Accepted
Nadezhda Tacheva
Telerik team
answered on 12 Jan 2023, 09:28 AM
Hi Deasun,
The Grid allows you to customize the exported file before it reaches the client. It exposes Export Events that you can handle to set different options to the file or get the whole file and configure it as needed through the RadSpreadProcessing library.
The following knowledge base article demonstrates how to get the file in the OnAfterExport event to set background color to the desired cells:
I hope it will help you with the implementation on your side. Please let us know if any other questions appear in the meantime.
Regards,
Nadezhda Tacheva
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/.