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

Export radgrid to excel set direction

1 Answer 119 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Hesam
Top achievements
Rank 1
Hesam asked on 30 Jan 2015, 02:07 PM
Hello /< /> how to set direction right to left worksheet or workbook when export radgrid data to excel?
i use :
using Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx;
using Telerik.Windows.Documents.Spreadsheet.Model;
            var workbook = new Workbook();
            var worksheet = workbook.Worksheets.Add();
thanks

1 Answer, 1 is accepted

Sort by
0
Anna
Telerik team
answered on 04 Feb 2015, 12:49 PM
Hello,

Excel should automatically determine the direction of the text depending on the language used in the respective cell. In other words, if you export Arabic text, when you open the file in Excel, it should be in right-to-left direction without you having to set anything.

I hope I understood your scenario correctly. Please, let me know if you have any other concerns and I'll do my best to help.

Regards,
Anna
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Spreadsheet
Asked by
Hesam
Top achievements
Rank 1
Answers by
Anna
Telerik team
Share this question
or