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

radgrid excel export date time field lefe indent

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
JJ
Top achievements
Rank 1
JJ asked on 28 Sep 2010, 03:54 PM
I need to export excel from Radgrid, but the date time column on the Excel is always right indented.  My user requests it left indent.  How I make this happened?

I tried to make the grid item left indent, but the column on the exported excel still right indented.

Please help!

Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Sep 2010, 09:57 PM
Hello Jessie,

You can set the desired alignment using the text-align style in the ExcelExportCellFormatting event handler.
I also recommend that you examine the following link:
Word/Excel export (HTML-based)

Let me know if you need more information.

Regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
JJ
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or