activeadmin-axlsx
activeadmin-axlsx copied to clipboard
Add config.xlsx_builder.output_header
Hi,
It'd be great if the header row can be omitted by configuration. For example, setting true/false to config.xlsx_builder.output_header.
At the moment disabling header seems not possible so I simply add an after_filter
to the xslx block:
after_filter do |sheet|
sheet.rows.delete_at 0
end
Hi @baxang
Ive added support for this in master. Header serialization can be turned off by specifying:
skip_header
in your builder configuration.
Can I ask you to have a go at what is on master an confirm that this meets your needs?
@randym Thanks for the new feature. It seems exactly what I asked for. I'll try it ASAP.