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

Allow the user to show/hide columns #98

Open
dipeshpp opened this issue May 30, 2017 · 2 comments
Open

Allow the user to show/hide columns #98

dipeshpp opened this issue May 30, 2017 · 2 comments

Comments

@dipeshpp
Copy link

Is this possible in the current implementation? Would re-rendering the component after changing the columns object that is passed to the component help?

The functionality could be similar to the models table which provides a dropdown listing all the columns and a checkbox next to each column name.

@smargovsky
Copy link
Contributor

This actually works. It has some strange behaviors ( see 3rd screenshot ). Just make sure your column array is Emberized ( Ember.A or equivalent observed array / object ).

However, I'm not sure that this functionality has been asked for directly. If you'd like to try a PR to implement it directly ( as an optional feature ), I'd be happy to take a look and put it through our rigorous approval process 😜

screenshot 2017-06-06 12 20 25
screenshot 2017-06-06 12 20 34
screenshot 2017-06-06 12 20 43

@dipeshpp
Copy link
Author

How did you fix the issue in the 3rd screenshot? Even using Ember.A() doesn't fix that issue for me.

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