-
Notifications
You must be signed in to change notification settings - Fork 685
Open
Description
I'm attempting to add an indent to a cell using Axlsx in a rails app but am apparently failing. From what I've read in the documentation and a few other pages this should be done in the following way.
@indent_1 = worksheet.styles.add_style :alignment => { :indent => 1 }
sheet.add_row ['pcd.1 - Dealer Support for Membership in Professional Design Organization'].concat([nil] * 6).concat([design_detail.maximum(:dealer_support_membership_metric).to_s.capitalize,
totals[:dealer_support_membership], nil,
scores[:dealer_support_membership], nil]),
style: @indent_1
However, no indent is appearing. I'm not quite clear on the units of the :indent integer but I've tried 1, 10, and 20 with no apparent difference.
I'm running rails 4.2.1 ruby 2.2.0 axlsx 1.3.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels