Query |
Response | |
Column I and J are wrong. The data in H, I and J should be 2 cells to the left. |
We are able to reproduce the reported issue and validating it currently. We will share the validation details on October 22nd, 2020. | |
Column B, D and E are DateTime values. After setting a style for the background and the borders the date values are changed to numbers. |
Kindly set the IncludeNumberFormat property to false as below, before setting the cell styles.
Code snippet:
| |
Is it possible to set different colors for the background making it easier to see which rows belong to each other?
In the screenshot I would like rows 2, 3 and 4 to have a darker background, row 5 a lighter one and rows 6 and 7 to be darker again. |
It is not possible to set different colors for each employee on importing the data. You have to manually set the styles based on the rows. The following UG link might help in achieving your requirement.
|
I can confirm defaultCellStyle.IncludeNumberFormat = false; is solving my issue with the date formats.
Looking forward to seeing the shift of the columns fixed soon.
Regards,
Paul