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

Output widget : hide columns #607

Closed
Tedd22 opened this issue May 6, 2014 · 4 comments
Closed

Output widget : hide columns #607

Tedd22 opened this issue May 6, 2014 · 4 comments

Comments

@Tedd22
Copy link

Tedd22 commented May 6, 2014

When exporting a csv file with the output widget, I'd like to hide some columns of my grid (typically a column with a checkbox for selecting rows). Is it possible ?

Thanks in advance !

@Mottie
Copy link
Owner

Mottie commented May 6, 2014

Hi @Tedd22!

There isn't an option to ignore certain columns, but the widget does ignore hidden cells. So for now, you'll need to hide that column before triggering the output widget.

I do think an option to select columns to ignore would be a better method, so I'll work on including that in the next update.

@Tedd22
Copy link
Author

Tedd22 commented May 6, 2014

Thanks Mottie ! For me, a header option option like "headers: { 0: { export: false }}" would be perfect.

@Mottie
Copy link
Owner

Mottie commented May 6, 2014

I actually just ended up adding a widget option:

output_ignoreColumns: [] // columns to ignore [0, 1,... ] (zero-based index)

This update is available in the working branch.

@Mottie
Copy link
Owner

Mottie commented May 22, 2014

This option is now available as part of v2.17.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants