Tablesorter:如何在使用小部件过滤器时排除行



带表分类器:http://mottie.github.io/tablesorter/docs/index.html#Introduction

举个例子:http://jsfiddle.net/w1e2x6cz/1/

如何排除选择过滤器中第一个正文行中的所有值?

例如,我的第一个选择过滤器包含以下值:

  • aaa
  • bbb
  • ccc
  • 总计

我只想要:

  • aaa
  • bbb
  • ccc

谢谢大家。

要忽略"Total"行,您需要在选项中修改该信息主体的"tablesorter no sort"类名:

cssInfoBlock : "tablesorter-no-sort"

这是一个工作演示。

最新更新