You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$("#tblpasskeys").tablesorter({theme: 'default',widthFixed: true,sortLocaleCompare: true,// needed for accented characters in the datasortList: sorting,widgets: ['zebra','filter']}).tablesorterPager({container: $(".pager"),ajaxUrl: 'mypasswords_tblsort.php?page={page}&size={size}&{sortList:col}&{filterList:fcol}',ajaxError: null,ajaxObject: {dataType: 'json'},ajaxProcessing: function(data){console.log(data.debug);vartotal,rows,headers;total=data.total_rows;headers=data.headers;rows=data.rows;return[total,rows,headers];},processAjaxOnInit: true,output: '{startRow} to {endRow} ({totalRows})',updateArrows: true,page: 0,size: 10,savePages: true,pageReset: 0,// css class names of pager arrowscssNext : '.next',// next page arrowcssPrev : '.prev',// previous page arrowcssFirst : '.first',// go to first page arrowcssLast : '.last',// go to last page arrowcssGoto : '.gotoPage',// page select dropdown - select dropdown that set the "page" optioncssPageDisplay : '.pagedisplay',// location of where the "output" is displayedcssPageSize : '.pagesize',// page size selector - select dropdown that sets the "size" option// class added to arrows when at the extremes; see the "updateArrows" option// (i.e. prev/first arrows are "disabled" when on the first page)cssDisabled : 'disabled',// Note there is no period "." in front of this class namecssErrorRow : 'tablesorter-errorRow'// error information row});
The text was updated successfully, but these errors were encountered:
It appears the 'pager' row/column is now set as a header column?
Therefore on each subsequent 'next/prev page' the order is changed.
Version: tablesorter-2.26.1
After next page:
Code (HTML and CSS) is the same as Pager plugin - AJAX example:
http://mottie.github.io/tablesorter/docs/example-pager-ajax.html
What am I doing wrong and how can this be fixed?
The text was updated successfully, but these errors were encountered: