-
Notifications
You must be signed in to change notification settings - Fork 257
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
insert_row: bad value for cell#column and cell#worksheet #181
Comments
Please provide the exact use case you have problem with. Some attributes are not intended to be filled during the normal operation and should not be relied upon. For example, |
something like
produces the following exception: |
I am styling xlsx file by MS Excel 2007. RubyXL was upgraded to 3.3.7 version. Wrote this code, but railse error like this ((:
|
@LutovPavel: your contribution is actually helping a lot, since the code you are touching comes all the way from the very very initial version of the gem (i.e. very untested), and hasn't been used much. I shall take a look at the exact reasons for this crash tomorrow. |
I have a related error -- I have a blank but formatted row of cells. I then insert a row below this row. RubyXL copies the formatting from the previous row and things look fine till this point. Now in the newly inserted row, I cannot use the
However, when I use Has this issue already been fixed? |
@nilesh: can you provide the minimal code sample? I'm not able to reproduce, it doesn't crash.
|
@weshatheleopard, I tried with a clean XLSX file, added some formatting and used your code. It worked fine! However, I have a heavily formatted sheet, for which the same code does not work. Let me attach it here for you to check out. |
@nilesh, I have the same problem. But if I save the file ( |
@belovamarina , @nilesh : Can someone give me EXACT steps to reproduce already? I tried the attached file, everything works just fine. |
I'm using @nilesh 's file as example.
Error:
@weshatheleopard , thank you! |
Is there any workout for copying and pasting the specific row in specific position using RubyXL gem? Your help will be highly appreciated. |
I have the same (or similar) question. I'm trying to find the correct analog for hand copying a tr class row from a web page and pasting it into a spreadsheet already parsed by RubyXL. If I were doing this by hand, the values would paste at intervals and replace anything that might happen to be there. |
markdown: recursive zipping example improvement
Hi. I have same issue after Whole example:
it produce
Any workaround? |
After inserting a new row in a worksheet, it appears that the newly created cells are missing some attributes:
the following code can be used as a workaround:
The text was updated successfully, but these errors were encountered: