Skip to content

Conversation

@IcedMango
Copy link
Contributor

When exporting using IDataReader, I noticed that even when passing DynamicColumn, the exported content was not being exported according to the passed data.

In this PR, the following adjustments have been made for exporting using IDataReader:

  • Added the DynamicColumnFirst property to the configuration, which ensures that the data in DynamicColumn is used as the standard for exporting (currently only handled for IDataReader). To avoid breaking changes and unexpected behavior, this configuration item is added with a default value of false.
  • Added a custom data formatting delegate in ExcelColumnInfo and DynamicColumn.
  • Adjusted the method GetColumnInfosFromDynamicConfiguration to filter DynamicColumn in a case-insensitive manner.

When exporting data, some data is not directly obtained from the database. Therefore, a custom formatting delegate method has been added to format the data.

@shps951023 shps951023 merged commit da9b517 into mini-software:master Nov 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants