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

Feature Request: allow sort order to be set as an alternative to toggle #195

Open
rlopez4 opened this issue Feb 29, 2024 · 2 comments
Open

Comments

@rlopez4
Copy link

rlopez4 commented Feb 29, 2024

Currently you can only toggle between the sort orders. It would be nice to be able to set the sort order for a column directly,

@rohanrajpal
Copy link

Hey @bryanmylee is this possible or do we plan to allow this in future releases?

@bryanmylee
Copy link
Owner

Hey, while the default plugin only supports toggling of a column's sort order from the props, it's still possible to update it directly via plugin state.

We can also modify the addSortBy plugin to provide an additional function on the props if that's desired!

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

3 participants