-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] WithColumnFormatting not working well #2931
Comments
Have a look here: PHPOffice/PhpSpreadsheet#168 |
For FORMAT_TEXT i can solve it with cells bind but how about FORMAT_DATE_DDMMYYYY? I tried using cells bind but still can't work @patrickbrouwers |
Try declaring a cell range, like |
@patrickbrouwers having same issue here... |
|
oooh |
@patrickbrouwers this method is not being called during import @RayhanYulanda I managed to fix it this way |
Columnformatting is only implemented for export yes, I'm okay with a PR that would add it for imports too. |
@RayhanYulanda and whoever sees this
this way (I guess) all values from your file will be parsed as strings |
I dont want all of cells to be string because there is should be date value |
You can implement your own value binder, there your have all control. |
solved by @c00p3r
because my api return as string , then in excel alr custom format but the value on cell is still string, so we need pas in mapping about to re map |
This solution I think the best
|
Prerequisites
Versions
Description
I tried using WithColumnFormatting but it doesn't work at all.
Steps to Reproduce
This is the result of G column
2020-12-01
2021-01-01
2021-03-01
2021-01-01
2021-01-01
This is the result of A column
1,96101E+17
1,96101E+17
1,96101E+17
1,96101E+17
1,96101E+17
Expected behavior:
I'm expecting it works well for format column :')
The text was updated successfully, but these errors were encountered: