This is a migrated thread and some comments may be shown as answers.
GridViewSpreadExport - Cell Formatting
2 Answers 9 Views
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 01 Dec 2020, 03:00 PM

If someone could point me in the right direction I'd appreciate it.

I am exporting a grid using the GridViewSpreadExport. I stylize the cells using the grid's ViewCellFormatting event.

I expected WYSIWYG functionality. For the most part, everything exports as expected. However, it seems some of the cell formatting that I perform in the ViewCellFormatting event to format the Header cells isn't captured in the grid's exportation to Excel.Specifically, the Header cell textorientation and fliptext properties are ignored.

How might I incorporate that into the exportation??

 

Thank you for your time!

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Nadya
Telerik team
answered on 01 Dec 2020, 05:07 PM

Hello, James,

According to the provided information and pictures, it seems that you want to export the text orientation the way it is displayed in the grid. However, currently, this is not supported by GridViewSpreadExport. This is why I have logged a feature request in our Feedback portal by creating a public thread on your behalf. You can track its progress, vote for it, subscribe for status changes, and add your comments on the following link - feedback item. The more vore an item gathers the higher its priority becomes.

I have also updated your Telerik Points.

Make sure that you follow the item in order to get notified when its status has changed.

I hope this information helps. Let me know if you have other questions.

Regards,
Nadya
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/.

0
James
Top achievements
Rank 1
answered on 01 Dec 2020, 05:47 PM

Thanks for the quick response Nadya.

I really like the simplicity of GridViewSpreadExport class. I look forward to that being implemented.

In the interim, I will modify the exported file to get the formatting correct using OpenXML or something equivalent.

 

Thank You!

Asked by
James
Top achievements
Rank 1
Answers by
Nadya
Telerik team
James
Top achievements
Rank 1
Share this question
or