-
Notifications
You must be signed in to change notification settings - Fork 123
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
CustomFormat for a specific cell #290
Comments
You can set the |
It sets for the entire column, I have one column on the first 4 rows with years like (2021, 2022, 2023, 2024) and the next rows with numbers like ($123.213.123), when I use ColumnInfo approach it formats the year like ($2.001, $2.002...) |
Try the |
I tried with CellStyle = new XSSFCellStyle() but I have no clue how to use it. That cell content is a formula.
|
Here's the code that sets the default column format: ExcelMapper/ExcelMapper/ColumnInfo.cs Lines 283 to 298 in 681546d
And here's an example on how to set cell color: #144 (comment) Perhaps you can work from there. |
Hello guys, is it possible to format a cell inside the AddMapping method?
Thanks!
The text was updated successfully, but these errors were encountered: