SetCellFormat with TFlxApplyFormat on empty cells

Hello,
My application fills an xlsx file with data and must sometimes separate rows by setting bottom border.

Here is the code used to set the bottom border:
    private void SetRowBottomBorder(XlsFile p_xfData, int p_nRow, TFlxBorderStyle p_bsStyle)
    {
      var l_tffBottomBorder = p_xfData.GetDefaultFormat;
      l_tffBottomBorder.Borders.Bottom = new TFlxOneBorder(p_bsStyle, TExcelColor.Automatic);
      var l_tafApply = new TFlxApplyFormat();
      l_tafApply.SetAllMembers(false);
      l_tafApply.Borders.Bottom = true;
      p_xfData.SetCellFormat(p_nRow, 1, p_nRow, (int)ExcelColumns.Count -1, l_tffBottomBorder, l_tafApply);
    }

Here is the empty Excel document my software fills with data:



And here is the filled document, with problem regarding to vertical borders only on EMPTY CELLS:


Can you please help me solve the format problem?

Thank you in advance

Greetings

J-D Gasser

Hi,

This does indeed seem like a bug. SetCellFormat in this overload is not checking the exiting column format, so it is failing to recognize that the new empty cell added in order to show the bottom line should also have a right line.

I think we have it fixed here, but I need to check it a little more. As soon as this is ready we will be releasing a new version with this fixed.

Hello Adrian,
Thank you for your answer.

Did you released the new version? Our customers are waiting on it. Or do you have a workaround?

Thank you in advance for xour answer.

Greetings

J-D Gasser

A new is coming in a couple of days, sorry about the delays. We are just polishing everything right now to make sure the release is fine.

Great, thank you !