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

Specify column for default sort? #32

Open
powellnorma opened this issue Aug 8, 2023 · 1 comment
Open

Specify column for default sort? #32

powellnorma opened this issue Aug 8, 2023 · 1 comment

Comments

@powellnorma
Copy link

I think currently the way to do this is to presort the ptData before passing it to PowerTable? But since we already have implemented the sorting logic (maybe even with custom customSort functions) it would be great if we could reuse it

@muonw-public
Copy link

I think currently the way to do this is to presort the ptData before passing it to PowerTable?

Correct!

since we already have implemented the sorting logic (maybe even with custom customSort functions) it would be great if we could reuse it

Good idea! To avoid breaking the multi-column sorting functionality, we also need to keep track of the order of sorting as suggested in #4

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