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

can't change border diagonal #438

Open
crgstar opened this issue Mar 9, 2023 · 0 comments
Open

can't change border diagonal #438

crgstar opened this issue Mar 9, 2023 · 0 comments

Comments

@crgstar
Copy link

crgstar commented Mar 9, 2023

I tried to change cell border diagonal, but it doesn't work.

irb(main):001:0> require 'rubyXL/convenience_methods'
irb(main):002:0> workbook = RubyXL::Workbook.new
irb(main):003:0> worksheet = workbook[0]
irb(main):004:0> worksheet.add_cell(1, 1, 'B2')
irb(main):005:0> worksheet[1][1].change_border(:diagonal, 'thick')
irb(main):006:0> workbook.write("test.xlsx")

It seems like RubyXL has set the value of the border, but it is not visible.
I have noticed that changing other directions (top, bottom, left, right) works fine.
Could you please provide a solution or fix the bug?

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