The error seems to be caused from this line.
$.tablesorter.defaults.sortList = [[4,0]];

I also put the headers line in the call, so my script look like:

$(document).ready(function() {

  // extend the default setting to always include the zebra widget.
  $.tablesorter.defaults.widgets = ['zebra'];

  // call the tablesorter plugin
  $("table#example").tablesorter({ headers: { 0: { sorter: false}, 1:
{sorter: false}, 2: { sorter: false}, 3: { sorter: false}, 6:
{ sorter: false}, 7: { sorter: false}}});
)};

This seems to fix the error and correctly display the data.

Reply via email to