Search code examples
javascriptjquerytablesorter

TableSorter clickable but not sorting


I'm using TableSorter... after some tweaking and searching on SO, i got somewhere, but still having an issue.

My table is showing and the headers are clickable (with the corresponding arrows) but the data is not actually sorting.

Im thinking it's because the data that's being pulled in is PHP... on the other hand, its rendering as pure HTML and the TableSorter should just modify the rendered HTML, not the server side PHP. anyway.

here's the rendered code - its clickable but not sorting. any ideas??

enter code herehttp://jsfiddle.net/4eLyj4gr/3/


Solution

  • Found the problem. I had PHP rendering too many <tbody>s.... that messed it up. only have one <tbody> and one </tbody> and it fixed my issue.