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

Border Width issue Excel XLSX

1 Answer 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
User1564
Top achievements
Rank 1
Veteran
User1564 asked on 11 Aug 2020, 01:36 PM

Hello,

I am exporting an Excel file and I edit the style in InfrastructureExporting like described in the docs.
Everything works great beside the border width.

 

I use it like here:
e.ExportStructure.Tables[0].Cells[0, 1].Style.BorderTopWidth = 5;

and the size doesn't change. It's always 1. 

Could you show a solution for this?

Regards

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 14 Aug 2020, 08:19 AM

Hi,

This is a known issue as the Library responsible for building the excel application does not have border sizes implemented. Currently, it can only toggle the border and can apply different border styles such as dotted, dashed, solid, etc. There is a feature request submitted for this feature, see Loses cell border configuration when saving spreadsheet to file.

Regards,
Attila Antal
Progress Telerik

Tags
Grid
Asked by
User1564
Top achievements
Rank 1
Veteran
Answers by
Attila Antal
Telerik team
Share this question
or