Sort doesn't work on the first click
See original GitHub issueI’m submitting a … (check one with “x”)
[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior when click on column header at the very first time, the data in the table kinda moving around but not sort correctly.
after first click, everything works properly. (or not, sometime the first row is not really the first one like it should be.)
Expected behavior
should work at the first time
Reproduction of the problem
on demo page
Please tell us about your environment: Win10/Chrome
- **Table version: latest
- Angular version: 2.0.x
Thank you for your great work !
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Sorting by Newest and Oldest First Not Working - Stack Overflow
The issue you are experiencing is in the sorting.js file, you need to return the array you are sorting: const SortbyNewestFirst = (array) ......
Read more >Why Won't My Spreadsheet Sort? - Small Business - Chron.com
To sort all your data without making a selection first, click in one cell within your data range. When you open the Sort...
Read more >Video: Sort data in a range or table - Microsoft Support
Training: Sort data in Excel quickly, in just a few clicks. To change the order of your data, sort it. To focus on...
Read more >Sorting is not working - Tableau Community
When you try to sort based on a dimension in a table like this one, Tableau sorts the values of that dimension within...
Read more >Sort and arrange items in the Finder on Mac - Apple Support
To choose a view, click one of the View buttons at the top of the Finder window. The top of a Finder window...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 2.0
Might be related to https://github.com/swimlane/angular2-data-table/blob/master/src/components/datatable.component.ts#L96 …