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

How to over-ride the default sort order when click on column header buttons? #1227

Closed
jabberwo opened this issue Apr 14, 2017 · 4 comments
Closed

Comments

@jabberwo
Copy link

Hi,

Not talking about defaultSortOrder when you use defaultSortName. That works fine. But my data alphabetical; and the first time you click on the v^ buttons on a different column the default is to sort "desc". I want the first click to be an 'asc' sort -- since that is most likely what my user wants.

Could really use a another option for this, defaultColumnSortOrder or something...

thanks,
Jab

@AllenFang
Copy link
Owner

You mean you want to click any row to get the ASC order at firstly? If yes, I'll try to support this feature, thanks.

@jabberwo
Copy link
Author

jabberwo commented Apr 16, 2017 via email

AllenFang added a commit that referenced this issue Apr 26, 2017
@AllenFang
Copy link
Owner

Fixed on v3.2.2, use defaultASC on TableHeaderColumn to assign the column sort as ASC as default

@jabberwo
Copy link
Author

jabberwo commented Apr 26, 2017 via email

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

2 participants