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

Enhancement: PTable sorting #1014

Open
znicholasbrown opened this issue Nov 10, 2023 · 2 comments
Open

Enhancement: PTable sorting #1014

znicholasbrown opened this issue Nov 10, 2023 · 2 comments
Labels

Comments

@znicholasbrown
Copy link
Contributor

PTable currently requires row sorting to be implemented downstream because the tables have no built-in sort methods.

I imagine sorting being based on column header, with the table / table header components exposing methods and models that would allow the consumer to control and respond to changes in the sort order. I think we can extend the TData model to include sort on the column, which would be a boolean that controlled whether sort interactions were enabled by default for the column.

@pleek91
Copy link
Collaborator

pleek91 commented Jul 18, 2024

Is there a specific table in the ui we want to add this behavior too first?

@znicholasbrown
Copy link
Contributor Author

Not in my mind @pleek91 - but any that work with API-sorting would be good

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

No branches or pull requests

3 participants