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

Question about sorting DataTables while using Responsive plugin #136

Open
pczarn2 opened this issue Oct 23, 2024 · 2 comments
Open

Question about sorting DataTables while using Responsive plugin #136

pczarn2 opened this issue Oct 23, 2024 · 2 comments

Comments

@pczarn2
Copy link
Contributor

pczarn2 commented Oct 23, 2024

Not an issue but a question. When responsive plugin is used and DataTable has sorting columns activated, the columns that are collapsed to the child rows cannot be clicked on to re-sort the data table by those columns. Any suggestions on how to deal with this? The idea is to give the users access to sort by all columns and not only by the un-collapsed columns they see when responsive layout is activated by the user (either by zooming in or using mobile browsers). I was thinking that maybe have a dropdown box before DataTable with search options that list all of the columns that can be used for sorting, but not sure if that would be possible to do or not?

@AllanJard
Copy link
Contributor

I was thinking that maybe have a dropdown box before DataTable with search options that list all of the columns that can be used for sorting, but not sure if that would be possible to do or not?

I think that's a good option and one that I should look at adding as a core part of the Buttons. I've made a note of that in my tracker. It is certainly possible, and would be similar to the column visibility button.

@pczarn2
Copy link
Contributor Author

pczarn2 commented Oct 24, 2024

Thank you Allan, this would be great addition. I'm looking forward to seeing it in the future.

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