-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add style to column causes it to be hidden #458
Comments
No the "fix" I submitted doesn't actually work. If width is set to undefined but the style attribute is still present this still results in the column being hidden when the file is exported. This would make sense being that the function I modified was parseOpen and not the function to export the file. @guyonroche sorry I don't think I have permission to reopen this issue. I can't figure out what attribute in the xml is causing the column to be hidden (the |
@AJamesPhillips, I tried: |
I can't remember now @qo4on . Looks like I set the width too as I can see in the code I did something like this:
Does that fix it for you? |
Thank you @AJamesPhillips, but I don't know how adapt your code for setting width of each individual column. |
Fell on exactly the same issue. I can confirm @AJamesPhillips 's solution. When altering the style, you have to explicitly set the width attribute or else the column will be hidden. This problem affects ONLY microsoft office and not LibreOffice, so i assume that each application interprets "undefined" differently when a style is present. |
In files row-xform.js(80) and col-xform.js(52), I have added extra if clause on the code. It works for me. |
@MohdVara that's great that you find a solution :) If could I ask you to create pull request with this fixation? 👍 |
Version: 0.8.0
Columns 1 and 4 will be visible but 2 and 3 will be hidden.
The text was updated successfully, but these errors were encountered: