MiniExcel icon indicating copy to clipboard operation
MiniExcel copied to clipboard

DynamicExcelColumn Configuration doesnt work for DataTable Objects

Open MrAlex6204 opened this issue 1 year ago • 0 comments

Excel Type

  • [ X] XLSX
  • [ ] XLSM
  • [ ] CSV
  • [ ] OTHER

Upload Excel File

Please attach your issue file by dragging or droppng, selecting or pasting them.

e.g : https://github.com/shps951023/MiniExcel/files/6538107/demo.xlsx

MiniExcel Version

The OpenXmlConfiguration configuration is not working with DataTable objects

Description

The OpenXmlConfiguration configuration is not working with DataTable objects is not mapping Table columns name with the DynamicExcelColumn object configuration.

Workaround I made was to parse the DataRows to IEnumerable list and then call the SaveAs.

MrAlex6204 avatar Apr 11 '24 19:04 MrAlex6204