-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
nz-table sorts descending by default #3398
Labels
Comments
|
vthinkxie
added a commit
that referenced
this issue
Jun 24, 2019
* fix(module:table): fix table sort default to ascend close #3398 * fix(module:table): fix virtual scroll no data height close #3419 * fix(module:table): fix table border error when small or bordered close #3373 close #3032 * docs(module:table): fix table drag style * fix(module:collapse): fix expand bug in Safari & animation bug close #3098 close #3346
Ricbet
pushed a commit
to Ricbet/ng-zorro-antd
that referenced
this issue
Apr 9, 2020
* fix(module:table): fix table sort default to ascend close NG-ZORRO#3398 * fix(module:table): fix virtual scroll no data height close NG-ZORRO#3419 * fix(module:table): fix table border error when small or bordered close NG-ZORRO#3373 close NG-ZORRO#3032 * docs(module:table): fix table drag style * fix(module:collapse): fix expand bug in Safari & animation bug close NG-ZORRO#3098 close NG-ZORRO#3346
hsuanxyz
pushed a commit
to hsuanxyz/ng-zorro-antd
that referenced
this issue
Aug 5, 2020
* fix(module:table): fix table sort default to ascend close NG-ZORRO#3398 * fix(module:table): fix virtual scroll no data height close NG-ZORRO#3419 * fix(module:table): fix table border error when small or bordered close NG-ZORRO#3373 close NG-ZORRO#3032 * docs(module:table): fix table drag style * fix(module:collapse): fix expand bug in Safari & animation bug close NG-ZORRO#3098 close NG-ZORRO#3346
@vthinkxie How can I set default sorting direction on the first click on non-sorted column? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
https://angular-s4nyi3.stackblitz.io
Steps to reproduce
What is expected?
Column should sort "ascending" by default when it does not have a sort order already set.
Or (optionally), provide a setting to control the default sort-order direction of the table.
What is actually happening?
Column sorts "descending" by default. No other site or behavior in the world sorts descending first.
The text was updated successfully, but these errors were encountered: