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 dynamic column filter #174

Closed
kevinpapst opened this issue Jun 22, 2018 · 1 comment
Closed

Add dynamic column filter #174

kevinpapst opened this issue Jun 22, 2018 · 1 comment
Milestone

Comments

@kevinpapst
Copy link
Member

kevinpapst commented Jun 22, 2018

Considering that we never find the best combination of columns to display for every user, we should have a way to configure which columns are displayed by default and which should be hidden.

Describe the solution you'd like

  • there should be a new view/eye button in the upper right action tool-group
  • clicking this button (state change to active) every available column should be displayed with a checkbox in the header
  • clicking the button again saves the selection of activated columns (the checked ones)
  • saving will happen for now in a cookie with unlimited lifetime and the name of the datatable
  • on every page load the de-activated columns will get a "hidden" css class from the server side (logic within the datable macro to ensure it works everywhere)

Describe alternatives you've considered

  • saving on server side can be done later if we see that the cookie solution is not persistent enough

Additional context

  • especially on mobile we need that, as we can only display three columns safely
@lock
Copy link

lock bot commented Nov 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Nov 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant