Table rows displaying in wrong order
-
Hi Meitar,
Many thanks again for the plug-in. I have used it to create a table for my website, as follows:
http://thinktankreview.co.uk/all-reports/
My only problem is that the page loads with the data displayed in an unusual order. I would like the page to automatically display all of the rows in reverse chronological order, as is the case in the google spreadsheet:
So beginning with (and then working backwards from): Publication Year = 2015, Publication Month = 7.
Right now, the page loads in such a way that the table displays a set of items from May 2014 at the top of the page (rather than the desired July 2015). Sorting by ‘Publication Year’ (one click on the first column heading) puts everything in order – but I would like this to be the default view if at all possible.
I am guessing that this has something to do with jQuery DataTables. The website table mirrors the google spreadsheet exactly when I insert class=no-datatables into the shortcode. However, I don’t want to lose the DataTables functionality.
Any help you can offer with this would be greatly appreciated.
https://ww.wp.xz.cn/plugins/inline-google-spreadsheet-viewer/
The topic ‘Table rows displaying in wrong order’ is closed to new replies.