JQuery tablesorter problem

前端 未结 6 2205
孤城傲影
孤城傲影 2021-02-01 07:13

I\'m having a couple of problems with the JQuery tablesorter plugin. If you click on a column header, it should sort the data by this column, but there are a couple of problems:

6条回答
  •  甜味超标
    2021-02-01 08:01

    1. Blank fields could be a problem (e.g they are not 0), try using custom parser which removes any non-numericals and forces values to integers (example: http://paste.pocoo.org/show/90863/ )

    2. Put your 'total' row inside a tag right before the end of the table

提交回复
热议问题