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

b-table-column default sort direction #243

Closed
byronferguson opened this issue Aug 11, 2017 · 1 comment
Closed

b-table-column default sort direction #243

byronferguson opened this issue Aug 11, 2017 · 1 comment
Assignees

Comments

@byronferguson
Copy link

Overview of the problem

Buefy version: [0.5.0]
Vuejs version: [2.3.4]
OS/Browser:

Description

I have several use cases where it would be useful to be able to specify the default sort direction on the initial click of the column. Subsequent clicks would perform the default action of resorting in the opposite direction. However, the current implementation is to always sort ASC on the first click.

Overriding the sort function to is possible; however, the directional arrows would be in direct opposition to the actual order of the field.

@alqu
Copy link

alqu commented Aug 13, 2017

Nearly the same on my use case:
I have backend sorting enabled and it would be cool to mark a column initially sorted from the beginning, since the data always comes sorted back from the server.

@jtommy jtommy self-assigned this Aug 16, 2017
@jtommy jtommy closed this as completed in b13bf92 Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants