axlsx
axlsx copied to clipboard
Different border styles for a cell
Hi, I need thick left, right border of a cell and thin top, bottom border of the same cell. Currently I do something like this
wlr = s.add_style :bg_color => bg_color lr = s.add_style :b => false, :border => { :style => :thick, :color => "00", :edges => [:left, :right] } sheet.add_row([ cell[1][1], cell[1][2]], :style => [wlr, lr])
This gives me thick left, right border of second cell. But I also need thin top bottom borders of that cell. How can I do this? Thanks
If someone will face the same issue, here is the solution https://github.com/randym/axlsx/pull/147