tablesorter-master
html js Table 

所属分类:WEB开发
开发工具:HTML
文件大小:799KB
下载次数:1
上传日期:2017-12-07 02:22:14
上 传 者pr0gz
说明:  Flexible client-side table sorting

文件列表:
LICENSE (1080, 2015-12-03)
addons (0, 2015-12-03)
addons\pager (0, 2015-12-03)
addons\pager\jquery.tablesorter.pager.css (432, 2015-12-03)
addons\pager\jquery.tablesorter.pager.js (4077, 2015-12-03)
bower.json (475, 2015-12-03)
build.xml (810, 2015-12-03)
build (0, 2015-12-03)
build\ParseMaster.js (4509, 2015-12-03)
build\js.jar (708578, 2015-12-03)
build\jsmin.js (6372, 2015-12-03)
build\min.js (124, 2015-12-03)
build\pack.js (166, 2015-12-03)
build\packer.js (12560, 2015-12-03)
build\writeFile.js (464, 2015-12-03)
changelog (1229, 2015-12-03)
docs (0, 2015-12-03)
docs\.tmp_index.html.55071~ (20519, 2015-12-03)
docs\assets (0, 2015-12-03)
docs\assets\ajax-content.html (765, 2015-12-03)
docs\css (0, 2015-12-03)
docs\css\jq.css (2001, 2015-12-03)
docs\example-ajax.html (3234, 2015-12-03)
docs\example-attribute-sort.html (2185, 2015-12-03)
docs\example-empty-table.html (2826, 2015-12-03)
docs\example-extending-defaults.html (3006, 2015-12-03)
docs\example-meta-headers.html (2939, 2015-12-03)
docs\example-meta-parsers.html (2960, 2015-12-03)
docs\example-meta-sort-list.html (2956, 2015-12-03)
docs\example-option-debug.html (2964, 2015-12-03)
docs\example-option-digits.html (2671, 2015-12-03)
docs\example-option-sort-force.html (2788, 2015-12-03)
docs\example-option-sort-key.html (2896, 2015-12-03)
docs\example-option-sort-list.html (2875, 2015-12-03)
docs\example-option-sort-order.html (2853, 2015-12-03)
docs\example-option-text-extraction.html (2780, 2015-12-03)
docs\example-options-headers.html (3132, 2015-12-03)
... ...

tablesorter =========== ###Flexible client-side table sorting ####Getting started To use the tablesorter plugin, include the jQuery library and the tablesorter plugin inside the head-tag of your HTML document: ```html ``` Tablesorter works on all standard HTML tables. You must include THEAD and TBODY tags: ```html
Last Name First Name Email Due Web Site
Smith John jsmith@gmail.com $50.00 http://www.jsmith.com
Bach Frank fbach@yahoo.com $50.00 http://www.frank.com
Doe Jason jdoe@hotmail.com $100.00 http://www.jdoe.com
Conway Tim tconway@earthlink.net $50.00 http://www.timconway.com
``` Start by telling tablesorter to sort your table when the document is loaded: ```javascript $(document).ready(function() { $("#myTable").tablesorter(); } ); ``` Click on the headers and you'll see that your table is now sortable! You can also pass in configuration options when you initialize the table. This tells tablesorter to sort on the first and second column in ascending order. ```javascript $(document).ready(function() { $("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} ); } ); ``` For DateTime columns you can specify your format, like this: ```javascript $(document).ready(function() { $("#myTable").tablesorter( {dateFormat: 'pt'} ); } ); ``` The available ones (currently) are: us, pt and uk. (for pt you can use 'dd/MM/yyyy hh:mm:ss')

近期下载者

相关文件


收藏者