Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can ColumnAttribute support specifying both column order and column name simultaneously? #145

Open
bxjg1987 opened this issue Nov 28, 2024 · 0 comments

Comments

@bxjg1987
Copy link

bxjg1987 commented Nov 28, 2024

When exporting Excel, the default order of exported columns depends on the class definition. It is currently not possible to specify both column order and column name through ColumnAttribute, and only one can be chosen.

I found MapExtensions The Map extension method has related overloading support for setting both column order and column names simultaneously.

Can ColumnAttribute be supported?

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

No branches or pull requests

1 participant