Downgrading to v 4.0.3 fixed this issue.
Code to reproduce below.
Expected result:
- First two rows are bolded
- Columns 8, 10, 12 and 14 get a dotted right border style
Actual result:
- Every column up to 14 get dotted right border for the first two rows. I'd guess there is some reference that is not dropped correctly between Row() and Column() accessors.
```
// TEST
var w = excel.Worksheets.Add("test");
w.Row(1).Style.Font.Bold = true;
w.Row(2).Style.Font.Bold = true;
for (var i = 0; i < 4; i++)
{
w.Column(8 + 2*i).Style.Border.Right.Style = ExcelBorderStyle.Dotted;
}
```
Code to reproduce below.
Expected result:
- First two rows are bolded
- Columns 8, 10, 12 and 14 get a dotted right border style
Actual result:
- Every column up to 14 get dotted right border for the first two rows. I'd guess there is some reference that is not dropped correctly between Row() and Column() accessors.
```
// TEST
var w = excel.Worksheets.Add("test");
w.Row(1).Style.Font.Bold = true;
w.Row(2).Style.Font.Bold = true;
for (var i = 0; i < 4; i++)
{
w.Column(8 + 2*i).Style.Border.Right.Style = ExcelBorderStyle.Dotted;
}
```