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

Add config.xlsx_builder.output_header #15

Open
baxang opened this issue Jul 30, 2013 · 2 comments
Open

Add config.xlsx_builder.output_header #15

baxang opened this issue Jul 30, 2013 · 2 comments

Comments

@baxang
Copy link

baxang commented Jul 30, 2013

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
@randym
Copy link
Owner

randym commented Oct 12, 2013

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?

@baxang
Copy link
Author

baxang commented Oct 13, 2013

@randym Thanks for the new feature. It seems exactly what I asked for. I'll try it ASAP.

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

2 participants