zdavatz / spreadsheet

The Ruby Spreadsheet by ywesee GmbH
http://spreadsheet.ch
GNU General Public License v3.0
1.13k stars 240 forks source link

Adding column to a spreadsheet #183

Closed dangnlg2 closed 7 years ago

dangnlg2 commented 8 years ago

Is there anyway to add a column to a worksheet?

I know there is a function called "insert_row(row#,data)", is there something similar to this but for columns?

If not, how can I add columns to my worksheet?

zdavatz commented 8 years ago

Did you read the Guide?

dangnlg2 commented 8 years ago

Yes, I did not see anything about adding columns there. That is why I asked this question here.

zdavatz commented 8 years ago

My guess is you will have to rewrite the whole sheet with the new column.