Sorting not active until search is clicked
Sorting not active until search is clicked
I have an odd issue occurring on a site, you can find the page here: http://epigenie.com/conferences
I have sorting setup on the Date column on load, which is kind of working, but really it sorting properly due to the array sorting server side before it gets dumped into the table. I then have all columns able to be sorted, however, when you click on a column to be sorted it does not work.
I found that if you click on the search input then run a search the sorting then gets enabled and clicking on each column will then sort. I've searched through the forums, but didn't see anyone having the same exact issue.
Any help would be very much appreciated.
Thanks,
Nick
This question has an accepted answers - jump to answer
Answers
Hi Nick,
Thanks for the link. There appears to be a Javascript error on the page when the page is first loaded. That is caused by an incompatibility between the DataTables version you are using (1.10.6) and the jQuery version (1.11.3).
If you update to the latest DataTables release (1.10.9 currently) that should be resolved and hopefully that will also take care of this weird error you are seeing.
Allan
Thanks Allan, you're the best ar-roooound!