Skip to content
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

Hidden columns after change_column_font_name #383

Open
rasaffie opened this issue Oct 24, 2020 · 0 comments
Open

Hidden columns after change_column_font_name #383

rasaffie opened this issue Oct 24, 2020 · 0 comments

Comments

@rasaffie
Copy link

rasaffie commented Oct 24, 2020

There is a problem with change_column_font_name on version 3.4.15. With code:

workbook = RubyXL::Workbook.new()
sheet = workbook.worksheets[0]
headers = ['A', 'B', 'C']
headers.each_with_index do |header, index|
  sheet.add_cell(0, index, header)
  sheet.change_column_font_name(index, 'Calibri')
end
workbook.stream.string

columns end up hidden (the worksheet starts at column D) when I open it using Excel version 16.42 on macOS 10.15.7. But if I use change_row_font_name there is no problem.

EDIT: Might be related to #336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant