1
Vote

Formatting boolean data with OpenXml.ExcelReportWriter

description

I want to thank you first. This project helped me a lot. I appreciate that.

By the way, there is a small bug I found that 'Report.RenderHints.BooleansAsYesNo' doesn't work at all.
So, I changed DoddleReport.OpenXml.ExcelReportWriter a bit.
I just commented out line 178 to 182 and it works for the flag setting and for setting delegate as well.
                if (field.DataType == typeof(bool))
                {
                        cell.SetDataType(XLCellValues.Boolean);
                        cell.Value = reportRow[field];
                }
I guess you can easily review and correct it.

comments