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

Supply sort direction to custom sort methods (#476) #533

Merged
merged 1 commit into from
Oct 27, 2017

Conversation

simon-bond
Copy link
Contributor

It's sometimes desirable to modify your sort method based on the direction of sort, for example in order to always sort null/undefined to the bottom of the table. This can be achieved simply by passing the direction of sort to the sort method, and doesn't change the default behaviour. The docs had a curious reference to "dir", which might have been intended for this, but the code doesn't reflect that.

@edi9999
Copy link

edi9999 commented Oct 10, 2017

Any update on this @tannerlinsley ?

@tannerlinsley tannerlinsley merged commit 189ee43 into TanStack:master Oct 27, 2017
@gary-menzel
Copy link
Contributor

This should be addressed in V 6.7.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

Successfully merging this pull request may close these issues.

None yet

4 participants