Reputation: 135
I'm using caxlsx with rails 6 and I can't find a way to set it to output the document as right to left (the document is in Hebrew). Does anyone know how to set it?
Thanks!
Jordan.
Upvotes: 0
Views: 240
Reputation: 135
After digging into the source code of the gem, I finally managed to figure out this line is needed at the end of the view file (export.xlsx.axlsx in my case):
sheet.sheet_view.right_to_left = true
Upvotes: 0