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

[Table] Allow auto-sorting even when onSort in passed #839

Open
veej opened this issue Apr 9, 2024 Discussed in #826 · 0 comments
Open

[Table] Allow auto-sorting even when onSort in passed #839

veej opened this issue Apr 9, 2024 Discussed in #826 · 0 comments

Comments

@veej
Copy link
Member

veej commented Apr 9, 2024

Currently, passing an onSort handler to the Table enables manual sorting, meaning that the data must be sorted manually before passing it to the component.

However, there are cases where we want to let the Table handle the sorting automatically even if we pass an onSort handler to the component (e.g. if the onSort handler is used to just execute some side-effects whenever the sorting changes).

Should we allow users to decide when to enable manual sorting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant