This is a migrated thread and some comments may be shown as answers.

Export to Excel Date Formatting

2 Answers 32 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Tshwanelo
Top achievements
Rank 1
Tshwanelo asked on 17 Apr 2015, 08:09 AM

Good Day

Please help,

How can i format the date when exporting treelist data to excel, using Telerik version 2013.3.1324.40.

2 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 22 Apr 2015, 07:06 AM
Hi Tshwanelo,

I am afraid the format could not be change by using the Telerik version 2013.3.1324.40.
Nevertheless if you are using the latest official release a possible solution is to hook InfrastructureExporting event handler and apply format to each cell which contains a date object. I prepared a small runnable sample and attached it to this thread.

Regards,
Kostadin
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Tshwanelo
Top achievements
Rank 1
answered on 23 Apr 2015, 05:49 AM

Hi Kostadin,

Thank a mil for you help, I guess my only option is to upgrade telerik version.

Have a great day.

Tags
TreeList
Asked by
Tshwanelo
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Tshwanelo
Top achievements
Rank 1
Share this question
or