TableSorter

Client-side table sorting with ease

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.greasyfork.org/scripts/5844/836943/TableSorter.js

作者
darkred
版本
0.0.1.20200813153543
创建于
2014-10-18
更新于
2020-08-13
许可证
暂无

Tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. Tablesorter can successfully parse and sort many types of data including linked data in a cell. It has many useful features including:

  • Multi-column sorting
  • Multi-tbody sorting - see the options table below
  • Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time. Add your own easily
  • Support secondary "hidden" sorting (e.g., maintain alphabetical sort when sorting on other criteria)
  • Extensibility via widget system
  • Cross-browser: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+
  • Works with jQuery 1.2.6+ (jQuery 1.4.1+ needed with some widgets).
  • Works with jQuery 1.9+ ($.browser.msie was removed; needed in the original version).
  • Small code size

Documentation: http://mottie.github.io/tablesorter/docs/ Changelog: https://github.com/Mottie/tablesorter/wiki/Changes (This library's code is set in greasyfork to automatically get updated with the plugin's latest version in Github)


Author: Christian Bach Maintainer: Rob Garrison (Mottie)