Closed brunoagretti closed 5 months ago
I investigated the issue. I think that the problem is already reproducible in the custom templates demo. As you can see, the footer is using the conditional formatting that is only defined for the regular rows, not for the footer: But I still cannot find where the issue is, will continue investigating.
When using a custom NumberColumnFormatProvider, an inconsistency in styling occurs for footer cells when their styles match those of the rows. In those cases, the footer cell's style is erroneously set as if it were a data cell.
This issue is reproducible with the following simple grid and exporter example:
When executing this example and exporting the grid to xlsx format, the output matches the expected styling:
However, after changing the format of the column for null items (the format for the footer) to match the formats of other items, we encounter an unexpected change in the footer's background color. Instead of using the footer's expected background color, it adopts the background color of the data cells:
This inconsistency in footer cell styling is visually shown below: