百度首页 | 百度空间
 
查看文章
 
Tablesorter:Table Sorter Plugin For jQuery
2008年05月15日 星期四 下午 07:51
Tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes.jQuery Sort Table
tablesorter
can successfully parse and sort many types of data including linked data in a cell.

Using tableSorter, you can have custom headers, sorting classes and row striping features.

How to use tableSorter?

The simplest usage is like below for a div with id value equals "simple":

<script>
$(document).ready(function() {
    $(#simple).tableSorter();
});
</script>

Some features of tablesorter:

  • Multi-column sorting
  • Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time.
  • Support for ROWSPAN and COLSPAN on TH elements
  • 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+
  • Small code size

类别:Resource | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码:
 

     

©2008 Baidu