diff --git a/Gruntfile.js b/Gruntfile.js index 5c259b3b..0f61d336 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -261,6 +261,15 @@ module.exports = function( grunt ) { } }, + htmlhint: { + html1: { + options: { + 'tag-pair': true + }, + src: ['docs/*.html', 'beta-testing/*.html'] + } + }, + uglify: { options: { preserveComments: function( node, comment ){ @@ -338,6 +347,7 @@ module.exports = function( grunt ) { grunt.loadNpmTasks( 'grunt-contrib-clean' ); grunt.loadNpmTasks( 'grunt-contrib-jshint' ); + grunt.loadNpmTasks( 'grunt-htmlhint' ); grunt.loadNpmTasks( 'grunt-contrib-qunit' ); grunt.loadNpmTasks( 'grunt-contrib-concat' ); grunt.loadNpmTasks( 'grunt-contrib-uglify' ); @@ -346,7 +356,7 @@ module.exports = function( grunt ) { grunt.loadNpmTasks( 'grunt-contrib-cssmin' ); grunt.loadNpmTasks( 'grunt-jscs' ); - grunt.registerTask( 'test', [ 'jscs', 'jshint', 'qunit' ] ); + grunt.registerTask( 'test', [ 'jscs', 'jshint', 'htmlhint', 'qunit' ] ); tasks = [ 'clean:build', diff --git a/beta-testing/example-pager-custom-controls.html b/beta-testing/example-pager-custom-controls.html index 83b5d22d..6b2f7ea5 100644 --- a/beta-testing/example-pager-custom-controls.html +++ b/beta-testing/example-pager-custom-controls.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Pager plugin, Custom Pagination + jQuery tablesorter 2.0 - Pager plugin, Custom Pagination @@ -1197,4 +1197,3 @@ - diff --git a/beta-testing/example-widget-column-reorder.html b/beta-testing/example-widget-column-reorder.html index 981ea21a..428c312d 100644 --- a/beta-testing/example-widget-column-reorder.html +++ b/beta-testing/example-widget-column-reorder.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Column reorder Widget + + jQuery tablesorter 2.0 - Column reorder Widget @@ -189,4 +189,3 @@ - diff --git a/docs/example-add-rows.html b/docs/example-add-rows.html index d4c2a431..c100de01 100644 --- a/docs/example-add-rows.html +++ b/docs/example-add-rows.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Adding a table row + + jQuery tablesorter 2.0 - Adding a table row @@ -33,8 +33,8 @@ var row = 'FrankSmith53$39.9522%Mar 22, 2011 9:33 AM' + 'InigoMontoya34$19.9915%Sep 25, 1987 12:00PM', $row = $(row), - // resort table using the current sort; set to false to prevent resort, otherwise - // any other value in resort will automatically trigger the table resort. + // resort table using the current sort; set to false to prevent resort, otherwise + // any other value in resort will automatically trigger the table resort. resort = true; $('table') .find('tbody').append($row) @@ -57,13 +57,13 @@

NOTE! -

-

+

+

Demo


diff --git a/docs/example-ajax.html b/docs/example-ajax.html index a1290816..25657455 100644 --- a/docs/example-ajax.html +++ b/docs/example-ajax.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Appending table data with ajax + + jQuery tablesorter 2.0 - Appending table data with ajax diff --git a/docs/example-apply-widget.html b/docs/example-apply-widget.html index c72d9abe..017cf897 100644 --- a/docs/example-apply-widget.html +++ b/docs/example-apply-widget.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - applyWidgetId vs. applyWidgets + + jQuery tablesorter 2.0 - applyWidgetId vs. applyWidgets diff --git a/docs/example-child-rows-filtered.html b/docs/example-child-rows-filtered.html index 919c7c13..b8b2fdc7 100644 --- a/docs/example-child-rows-filtered.html +++ b/docs/example-child-rows-filtered.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Child Rows with Filter Widget + + jQuery tablesorter 2.0 - Child Rows with Filter Widget diff --git a/docs/example-child-rows.html b/docs/example-child-rows.html index 568e0c5d..e42b5efc 100644 --- a/docs/example-child-rows.html +++ b/docs/example-child-rows.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Child Rows + + jQuery tablesorter 2.0 - Child Rows @@ -72,21 +72,21 @@

NOTE! -

-

+

+

Demo

diff --git a/docs/example-colspan.html b/docs/example-colspan.html index 8d7e32e3..7a3d6e7c 100644 --- a/docs/example-colspan.html +++ b/docs/example-colspan.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sorting & Filtering with Colspans + + jQuery tablesorter 2.0 - Sorting & Filtering with Colspans @@ -78,17 +78,17 @@

NOTE! -

Demo

@@ -122,4 +122,3 @@ $(function() { - diff --git a/docs/example-header-column-span.html b/docs/example-header-column-span.html index a55cebdd..0a4be6e8 100644 --- a/docs/example-header-column-span.html +++ b/docs/example-header-column-span.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sorting Across Multiple Columns + + jQuery tablesorter 2.0 - Sorting Across Multiple Columns @@ -32,11 +32,11 @@

NOTE! -

-

+

+

Demo

@@ -97,4 +97,3 @@ - diff --git a/docs/example-locale-sort.html b/docs/example-locale-sort.html index 4541269a..95884432 100644 --- a/docs/example-locale-sort.html +++ b/docs/example-locale-sort.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sorting Accented Characters + + jQuery tablesorter 2.0 - Sorting Accented Characters @@ -71,12 +71,12 @@

NOTE! -

-

+

+

Demo

@@ -167,4 +167,3 @@ - diff --git a/docs/example-meta-headers.html b/docs/example-meta-headers.html index d839eed3..000013f4 100644 --- a/docs/example-meta-headers.html +++ b/docs/example-meta-headers.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Disable headers using metadata + + jQuery tablesorter 2.0 - Disable headers using metadata @@ -126,4 +126,3 @@ - diff --git a/docs/example-meta-parsers.html b/docs/example-meta-parsers.html index ed985257..75036242 100644 --- a/docs/example-meta-parsers.html +++ b/docs/example-meta-parsers.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Setting column parser using metadata + + jQuery tablesorter 2.0 - Setting column parser using metadata diff --git a/docs/example-meta-sort-list.html b/docs/example-meta-sort-list.html index ec2b3410..b3358b78 100644 --- a/docs/example-meta-sort-list.html +++ b/docs/example-meta-sort-list.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Setting initial sorting order with metadata + + jQuery tablesorter 2.0 - Setting initial sorting order with metadata diff --git a/docs/example-method-sortreset.html b/docs/example-method-sortreset.html index 60958542..e99eca1c 100644 --- a/docs/example-method-sortreset.html +++ b/docs/example-method-sortreset.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - resetting the entire table sort + + jQuery tablesorter 2.0 - resetting the entire table sort @@ -42,12 +42,12 @@

NOTE! -

-

+

+

Demo

@@ -153,4 +153,3 @@ - diff --git a/docs/example-multiple-tbodies.html b/docs/example-multiple-tbodies.html index e3d2c632..5f2cca9c 100644 --- a/docs/example-multiple-tbodies.html +++ b/docs/example-multiple-tbodies.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sorting with Multiple Tbodies + + jQuery tablesorter 2.0 - Sorting with Multiple Tbodies @@ -106,4 +106,3 @@ - diff --git a/docs/example-option-custom-sort.html b/docs/example-option-custom-sort.html index e30bd299..660435d8 100644 --- a/docs/example-option-custom-sort.html +++ b/docs/example-option-custom-sort.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Using a Custom Sort Script + + jQuery tablesorter 2.0 - Using a Custom Sort Script @@ -26,7 +26,7 @@ Array.AlphanumericSortIgnoreCase = true; // see https://github.com/andrewplummer/Sugar/issues/382#issuecomment-41526957 Array.AlphanumericSortEquivalents = {}; - + $("table").tablesorter({ theme : 'blue', // table = table object; get config options from table.config @@ -58,24 +58,24 @@

NOTE! -

-

+

+

Demo

@@ -147,4 +147,3 @@ - diff --git a/docs/example-option-date-format.html b/docs/example-option-date-format.html index 3587288e..202cbd5c 100644 --- a/docs/example-option-date-format.html +++ b/docs/example-option-date-format.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Changing the date format + + jQuery tablesorter 2.0 - Changing the date format @@ -45,22 +45,23 @@

NOTE! -

-

+

+ +

Demo

@@ -173,4 +174,3 @@ - diff --git a/docs/example-option-debug.html b/docs/example-option-debug.html index 8f57176a..5e903a3f 100644 --- a/docs/example-option-debug.html +++ b/docs/example-option-debug.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Enabling debug mode + + jQuery tablesorter 2.0 - Enabling debug mode @@ -41,7 +41,7 @@

NOTE! If firebug is installed the debuging information will be displayed in the firebug console.

- +

Demo

@@ -116,4 +116,3 @@ - diff --git a/docs/example-option-delay-init.html b/docs/example-option-delay-init.html index 6ac0ffa4..07ae70b4 100644 --- a/docs/example-option-delay-init.html +++ b/docs/example-option-delay-init.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Demonstration of delayInit option + jQuery tablesorter 2.0 - Demonstration of delayInit option diff --git a/docs/example-option-digits.html b/docs/example-option-digits.html index 2bb4d7c2..f3dda967 100644 --- a/docs/example-option-digits.html +++ b/docs/example-option-digits.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Dealing with Digits + + jQuery tablesorter 2.0 - Dealing with Digits @@ -33,14 +33,14 @@

NOTE! -

-

+

+

Demo

@@ -150,4 +150,3 @@ - diff --git a/docs/example-option-render-header.html b/docs/example-option-render-header.html index 940d97b4..1301a9ea 100644 --- a/docs/example-option-render-header.html +++ b/docs/example-option-render-header.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Render Header + + jQuery tablesorter 2.0 - Render Header @@ -158,4 +158,3 @@ - diff --git a/docs/example-option-render-template.html b/docs/example-option-render-template.html index 5773da80..68625788 100644 --- a/docs/example-option-render-template.html +++ b/docs/example-option-render-template.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Header Template & Rendering + + jQuery tablesorter 2.0 - Header Template & Rendering @@ -146,4 +146,3 @@ - diff --git a/docs/example-option-selectorsort.html b/docs/example-option-selectorsort.html index c4d397a2..10d70cef 100644 --- a/docs/example-option-selectorsort.html +++ b/docs/example-option-selectorsort.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Using selectorSort + jQuery tablesorter 2.0 - Using selectorSort @@ -148,4 +148,3 @@ - diff --git a/docs/example-option-show-processing.html b/docs/example-option-show-processing.html index 42b1932f..2cdb1c11 100644 --- a/docs/example-option-show-processing.html +++ b/docs/example-option-show-processing.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - showProcessing & Filter events + + jQuery tablesorter 2.0 - showProcessing & Filter events @@ -67,11 +67,11 @@

NOTE! -

-

+

+

Javascript

@@ -1135,4 +1135,3 @@ - diff --git a/docs/example-option-sort-append.html b/docs/example-option-sort-append.html index d10d07ff..414ff8a3 100644 --- a/docs/example-option-sort-append.html +++ b/docs/example-option-sort-append.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Append a default sorting order + + jQuery tablesorter 2.0 - Append a default sorting order @@ -75,12 +75,12 @@ $(function() {

NOTE! -

    -
  • In v2.24.0, sortAppend can now be applied based on the primary column sort.
  • -
  • Click to sort any column header to see the the first column sort is appended to the selected sort order.
  • -
  • This option is part of the original plugin
  • -
-

+

+
    +
  • In v2.24.0, sortAppend can now be applied based on the primary column sort.
  • +
  • Click to sort any column header to see the the first column sort is appended to the selected sort order.
  • +
  • This option is part of the original plugin
  • +

Demo

"First Name" column ascending sort appended to any other sort:

@@ -129,4 +129,3 @@ $(function() { - diff --git a/docs/example-option-sort-empty.html b/docs/example-option-sort-empty.html index 1fee3a9f..ab006cfb 100644 --- a/docs/example-option-sort-empty.html +++ b/docs/example-option-sort-empty.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sorting empty cells + + jQuery tablesorter 2.0 - Sorting empty cells @@ -49,35 +49,34 @@ $(function(){

NOTE! -

-
    -
  • Set the emptyTo selector below: -
      -
    • top - sort empty table cells to the top.
    • -
    • bottom - sort empty table cells to the bottom.
    • -
    • none or zero -
        -
      • Sort empty table cells as if the cell has the value equal to zero
      • -
      • None/zero has a value less than A through Z (in javascript, 0 < 'A' && 0 < 'Z'); so in an alphabetical column, empty cells will sort at the top in an ascending sort & at the bottom in a descending sort.
      • -
      • In numerical columns, empty cells will sort as if their value was zero.
      • -
      -
    • -
    -
    -
  • -
  • Individual columns can be modified by adding the following (they all do the same thing), set in order of priority: -
      -
    • jQuery data data-empty="top".
    • -
    • metadata class="{ empty: 'top'}". This requires the metadata plugin.
    • -
    • headers option headers : { 0 : { empty : 'top' } }.
    • -
    • header class name class="empty-top".
    • -
    • Overall emptyTo option.
    • -
    -
    -
  • -
  • emptyToBottom option was added in v2.1.11, then replaced by the emptyTo option in v2.1.16.
  • -
-

+

+
    +
  • Set the emptyTo selector below: +
      +
    • top - sort empty table cells to the top.
    • +
    • bottom - sort empty table cells to the bottom.
    • +
    • none or zero +
        +
      • Sort empty table cells as if the cell has the value equal to zero
      • +
      • None/zero has a value less than A through Z (in javascript, 0 < 'A' && 0 < 'Z'); so in an alphabetical column, empty cells will sort at the top in an ascending sort & at the bottom in a descending sort.
      • +
      • In numerical columns, empty cells will sort as if their value was zero.
      • +
      +
    • +
    +
    +
  • +
  • Individual columns can be modified by adding the following (they all do the same thing), set in order of priority: +
      +
    • jQuery data data-empty="top".
    • +
    • metadata class="{ empty: 'top'}". This requires the metadata plugin.
    • +
    • headers option headers : { 0 : { empty : 'top' } }.
    • +
    • header class name class="empty-top".
    • +
    • Overall emptyTo option.
    • +
    +
    +
  • +
  • emptyToBottom option was added in v2.1.11, then replaced by the emptyTo option in v2.1.16.
  • +

Demo

@@ -195,4 +194,3 @@ Set emptyTo option:
@@ -125,4 +125,3 @@ - diff --git a/docs/example-option-sort-key.html b/docs/example-option-sort-key.html index 5c4afe21..3e56a939 100644 --- a/docs/example-option-sort-key.html +++ b/docs/example-option-sort-key.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Change multi-column sorting key + + jQuery tablesorter 2.0 - Change multi-column sorting key @@ -40,7 +40,7 @@

NOTE! Click to sort any column header, then hold down the alt key and select a second column. Continue selecting columns as desired. -

+

Demo

@@ -116,4 +116,3 @@ - diff --git a/docs/example-option-sort-list.html b/docs/example-option-sort-list.html index 01e3e056..f0dc5c0e 100644 --- a/docs/example-option-sort-list.html +++ b/docs/example-option-sort-list.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Set an initial table sort + + jQuery tablesorter 2.0 - Set an initial table sort @@ -173,4 +173,3 @@ - diff --git a/docs/example-option-sort-order.html b/docs/example-option-sort-order.html index 3cb86911..e753ed9a 100644 --- a/docs/example-option-sort-order.html +++ b/docs/example-option-sort-order.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Set an initial sort order direction + + jQuery tablesorter 2.0 - Set an initial sort order direction @@ -110,4 +110,3 @@ - diff --git a/docs/example-option-sortreset-sortrestart.html b/docs/example-option-sortreset-sortrestart.html index 2ee81191..a2b8a902 100644 --- a/docs/example-option-sortreset-sortrestart.html +++ b/docs/example-option-sortreset-sortrestart.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Reset/Restart the sort + jQuery tablesorter 2.0 - Reset/Restart the sort @@ -52,13 +52,13 @@

NOTE! -

-

+

+

Demo

@@ -134,4 +134,3 @@ - diff --git a/docs/example-option-text-extraction.html b/docs/example-option-text-extraction.html index 1590b94b..18fff860 100644 --- a/docs/example-option-text-extraction.html +++ b/docs/example-option-text-extraction.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Dealing with markup inside cells + + jQuery tablesorter 2.0 - Dealing with markup inside cells @@ -57,13 +57,13 @@

NOTE! -

-

+

+

Demo

@@ -139,4 +139,3 @@ - diff --git a/docs/example-option-textsorter-semver.html b/docs/example-option-textsorter-semver.html index f0647a32..72a8a526 100644 --- a/docs/example-option-textsorter-semver.html +++ b/docs/example-option-textsorter-semver.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Semver Sorting + + jQuery tablesorter 2.0 - Semver Sorting @@ -72,16 +72,16 @@

NOTE! -

-

+

+

Demo

diff --git a/docs/example-option-theme-metro-style.html b/docs/example-option-theme-metro-style.html index 2d91b9a7..5a326b74 100644 --- a/docs/example-option-theme-metro-style.html +++ b/docs/example-option-theme-metro-style.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Pager plugin + + jQuery tablesorter 2.0 - Pager plugin @@ -57,17 +57,17 @@

NOTE! -

-

+

+

Demo

@@ -191,4 +191,3 @@ - diff --git a/docs/example-options-headers-digits-strings.html b/docs/example-options-headers-digits-strings.html index 9fd99a89..794ba196 100644 --- a/docs/example-options-headers-digits-strings.html +++ b/docs/example-options-headers-digits-strings.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Dealing with text strings in numerical sorts + + jQuery tablesorter 2.0 - Dealing with text strings in numerical sorts @@ -48,32 +48,32 @@

NOTE! -

-

+

+

Demo

@@ -222,4 +222,3 @@ - diff --git a/docs/example-options-headers-locked.html b/docs/example-options-headers-locked.html index fb9984b6..a91b82b6 100644 --- a/docs/example-options-headers-locked.html +++ b/docs/example-options-headers-locked.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Lock sort order + + jQuery tablesorter 2.0 - Lock sort order @@ -41,19 +41,19 @@

NOTE! -

-

+

+

Demo

@@ -129,4 +129,3 @@ - diff --git a/docs/example-options-headers-order.html b/docs/example-options-headers-order.html index e493e17b..f3aeeda1 100644 --- a/docs/example-options-headers-order.html +++ b/docs/example-options-headers-order.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Set initial sort order + + jQuery tablesorter 2.0 - Set initial sort order @@ -44,19 +44,19 @@

NOTE! -

-

+

+

Demo

@@ -132,4 +132,3 @@ - diff --git a/docs/example-options-headers-parser.html b/docs/example-options-headers-parser.html index 56978f02..e0921da9 100644 --- a/docs/example-options-headers-parser.html +++ b/docs/example-options-headers-parser.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Skip parsing of content + + jQuery tablesorter 2.0 - Skip parsing of content @@ -55,20 +55,20 @@

NOTE! -

-

+

+

Demo

@@ -106,4 +106,3 @@ - diff --git a/docs/example-options-headers.html b/docs/example-options-headers.html index d320ca16..d7e0595e 100644 --- a/docs/example-options-headers.html +++ b/docs/example-options-headers.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Disable sort + + jQuery tablesorter 2.0 - Disable sort @@ -49,19 +49,19 @@

NOTE! -

-

+

+

Demo

@@ -137,4 +137,3 @@ - diff --git a/docs/example-pager-ajax.html b/docs/example-pager-ajax.html index 4b42d8fe..976f4239 100644 --- a/docs/example-pager-ajax.html +++ b/docs/example-pager-ajax.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Pager plugin - Ajax + + jQuery tablesorter 2.0 - Pager plugin - Ajax diff --git a/docs/example-pager-filtered.html b/docs/example-pager-filtered.html index de61f57e..2275ac79 100644 --- a/docs/example-pager-filtered.html +++ b/docs/example-pager-filtered.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Pager plugin + Filter widget + + jQuery tablesorter 2.0 - Pager plugin + Filter widget @@ -138,19 +138,19 @@

NOTE! The following are not part of the original plugin: -

-

+

+

Demo


@@ -476,4 +476,3 @@ - diff --git a/docs/example-pager.html b/docs/example-pager.html index 41cc69f0..4c05e96a 100644 --- a/docs/example-pager.html +++ b/docs/example-pager.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Pager plugin + + jQuery tablesorter 2.0 - Pager plugin @@ -235,22 +235,22 @@

NOTE! The following are not part of the original plugin: -

-

+

+

Triggered Events  

@@ -151,4 +151,3 @@ $(function(){ - diff --git a/docs/example-parsers-class-name.html b/docs/example-parsers-class-name.html index 2bba75e9..12d771a6 100644 --- a/docs/example-parsers-class-name.html +++ b/docs/example-parsers-class-name.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Disable or set the column parser using class names + + jQuery tablesorter 2.0 - Disable or set the column parser using class names @@ -32,19 +32,19 @@

NOTE! -

-

+

+

Demo

@@ -128,4 +128,3 @@ - diff --git a/docs/example-parsers-date-range.html b/docs/example-parsers-date-range.html index 4d3a7284..f7c68f18 100644 --- a/docs/example-parsers-date-range.html +++ b/docs/example-parsers-date-range.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter - Date range parsers + + jQuery tablesorter - Date range parsers diff --git a/docs/example-parsers-dates.html b/docs/example-parsers-dates.html index b8f68705..2e0aeca8 100644 --- a/docs/example-parsers-dates.html +++ b/docs/example-parsers-dates.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter - Assorted date parsers + + jQuery tablesorter - Assorted date parsers @@ -95,33 +95,33 @@

NOTE! -

-

+

+

Demo

@@ -224,4 +224,3 @@ $(function(){ - diff --git a/docs/example-parsers-duration.html b/docs/example-parsers-duration.html index b4076dc5..6620043a 100644 --- a/docs/example-parsers-duration.html +++ b/docs/example-parsers-duration.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter - Duration & countdown parsers + jQuery tablesorter - Duration & countdown parsers @@ -160,5 +160,6 @@ }); + diff --git a/docs/example-parsers-feet-inch-fraction.html b/docs/example-parsers-feet-inch-fraction.html index a426ffc7..7ad2d4eb 100644 --- a/docs/example-parsers-feet-inch-fraction.html +++ b/docs/example-parsers-feet-inch-fraction.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Feet-inch-fraction parser + jQuery tablesorter 2.0 - Feet-inch-fraction parser @@ -62,7 +62,7 @@ - + @@ -73,21 +73,21 @@ - + - + - + - + - +
5'
3"5 ½
½"
5' 11"¾
10' 11"
10' 1"5/6
5' 3/4"2⅞
5' 5/8"3 ¾
5' 3 1/2"3 ⅛
10' 3⅛"3/7
10' 2⅜"3⅜
10' 3⅝"3 ½
10' 2⅞"3 ⅝
5' 3¼"2⅝
5 ' 2 ½ "2/3
10' 2¾"5 ⅝
5' 2 ½"5 ⅜
5' 2.5"5/16
5' 2 1/2"2 3/5
10 ' 1 "3
@@ -125,4 +125,3 @@ $(function(){ - diff --git a/docs/example-parsers-file-type.html b/docs/example-parsers-file-type.html index e07cc56d..36094dc7 100644 --- a/docs/example-parsers-file-type.html +++ b/docs/example-parsers-file-type.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - File Type Parser + + jQuery tablesorter 2.0 - File Type Parser diff --git a/docs/example-parsers-globalize.html b/docs/example-parsers-globalize.html index 13e71b20..6f8b664b 100644 --- a/docs/example-parsers-globalize.html +++ b/docs/example-parsers-globalize.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Parsers Globalize + + jQuery tablesorter 2.0 - Parsers Globalize @@ -255,18 +255,18 @@ var data = {

NOTE! -

-

+

+

Demo

parsed values within the column diff --git a/docs/example-parsers-ignore-articles.html b/docs/example-parsers-ignore-articles.html index dea5f8c4..1db24309 100644 --- a/docs/example-parsers-ignore-articles.html +++ b/docs/example-parsers-ignore-articles.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Ignore leading articles parser + jQuery tablesorter 2.0 - Ignore leading articles parser diff --git a/docs/example-parsers-ip-address.html b/docs/example-parsers-ip-address.html index 734032e1..9bec7bf6 100644 --- a/docs/example-parsers-ip-address.html +++ b/docs/example-parsers-ip-address.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - IP address parsers + jQuery tablesorter 2.0 - IP address parsers @@ -46,29 +46,30 @@

NOTE! -

+

Demo

diff --git a/docs/example-parsers-jquery-data.html b/docs/example-parsers-jquery-data.html index c192123c..c95f23f4 100644 --- a/docs/example-parsers-jquery-data.html +++ b/docs/example-parsers-jquery-data.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Disable or set the column parser using data + + jQuery tablesorter 2.0 - Disable or set the column parser using data @@ -38,7 +38,7 @@

NOTE! This functionality was added in version 2.2.3 (it is not part of the original plugin). -

+

Demo

@@ -122,4 +122,3 @@ - diff --git a/docs/example-parsers-metric.html b/docs/example-parsers-metric.html index 083d27e6..bd0c0d34 100644 --- a/docs/example-parsers-metric.html +++ b/docs/example-parsers-metric.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter - Metric Parser + + jQuery tablesorter - Metric Parser @@ -42,31 +42,31 @@

NOTE! -

    -
  • In v2.22.2, -
      -
    • Added header data-attribute data-metric-name-full which will contain the full base unit name, e.g. "byte|Byte|BYTE". This change should allow for different capitalizations of the base unit name.
    • -
    • Added header data-attribute data-metric-name-abbr which will contain the abbreviated base unit name, e.g. "b|B". This change also should allow for different capitalizations of the base unit name.
    • -
    • Each name is separated by a pipe, or vertical bar, ("|") without spaces, because it will eventually be used in a regular expression - the vertical bar signifies an "OR" operator.
    • -
    • When using these new data-attributes, the value in data-metric-name (now deprecated) will be ignored; eventually data-metric-name support will be removed.
    • -
    • These additions were made because of common misuse of abbreviated capitalization in the metric units, i.e. "kB" versus "kb". The lower case "b" is for "bit", and upper case "B" is for "byte". I am guilty of this too!
    • -
    -
  • -
  • This parser will convert numbers with metric prefixes ("Mega", "Giga", etc) into appropriate values so they are sorted correctly.
  • -
  • The base name must be included in the header: -
      -
    • The base is the unit of measure, such as "byte", "meter", "liter", etc.
    • -
    • deprecated When saving the base, include both the abbreviation and full name of the base separated by a vertical bar (shift-\) b|byte.
    • -
    • deprecated Store this information within the header's data-attribute (data-metric-name="b|byte") - this data-attribute should be considered deprecated as of v2.22.2, use data-metric-name-full & data-metric-name-abbr instead.
    • -
    • If no base information is found, it will default to m|meter.
    • -
    -
  • -
  • Because metric prefixes can be applied to binary values, the parser will calculate the cached value based on the binary multiple, i.e. "1 kB" is actually "1024 bytes". See this article for more details.
  • -
  • This parser does not (yet) support the IEC recommendations for binary prefixes (i.e. "kibibyte (KiB)", "mebibyte (MiB)", etc).
  • -
  • Supported prefixes include: Yotta (1024), Zetta (1021), Exa (1018), Peta (1015), Tera (1012), Giga (109), Mega (106), kilo (103), hecto (102), deka (101), deci (10-1), centi (10-2), milli (10-3), micro (10-6), nano (10-9), pico (10-12), femto (10-15), atto (10-18), zepto (10-21) and yocto (10-24).
  • -
  • This demo includes the stored metric values within the table cells, toggle the view using the button below.
  • -
-

+

+
    +
  • In v2.22.2, +
      +
    • Added header data-attribute data-metric-name-full which will contain the full base unit name, e.g. "byte|Byte|BYTE". This change should allow for different capitalizations of the base unit name.
    • +
    • Added header data-attribute data-metric-name-abbr which will contain the abbreviated base unit name, e.g. "b|B". This change also should allow for different capitalizations of the base unit name.
    • +
    • Each name is separated by a pipe, or vertical bar, ("|") without spaces, because it will eventually be used in a regular expression - the vertical bar signifies an "OR" operator.
    • +
    • When using these new data-attributes, the value in data-metric-name (now deprecated) will be ignored; eventually data-metric-name support will be removed.
    • +
    • These additions were made because of common misuse of abbreviated capitalization in the metric units, i.e. "kB" versus "kb". The lower case "b" is for "bit", and upper case "B" is for "byte". I am guilty of this too!
    • +
    +
  • +
  • This parser will convert numbers with metric prefixes ("Mega", "Giga", etc) into appropriate values so they are sorted correctly.
  • +
  • The base name must be included in the header: +
      +
    • The base is the unit of measure, such as "byte", "meter", "liter", etc.
    • +
    • deprecated When saving the base, include both the abbreviation and full name of the base separated by a vertical bar (shift-\) b|byte.
    • +
    • deprecated Store this information within the header's data-attribute (data-metric-name="b|byte") - this data-attribute should be considered deprecated as of v2.22.2, use data-metric-name-full & data-metric-name-abbr instead.
    • +
    • If no base information is found, it will default to m|meter.
    • +
    +
  • +
  • Because metric prefixes can be applied to binary values, the parser will calculate the cached value based on the binary multiple, i.e. "1 kB" is actually "1024 bytes". See this article for more details.
  • +
  • This parser does not (yet) support the IEC recommendations for binary prefixes (i.e. "kibibyte (KiB)", "mebibyte (MiB)", etc).
  • +
  • Supported prefixes include: Yotta (1024), Zetta (1021), Exa (1018), Peta (1015), Tera (1012), Giga (109), Mega (106), kilo (103), hecto (102), deka (101), deci (10-1), centi (10-2), milli (10-3), micro (10-6), nano (10-9), pico (10-12), femto (10-15), atto (10-18), zepto (10-21) and yocto (10-24).
  • +
  • This demo includes the stored metric values within the table cells, toggle the view using the button below.
  • +

Demo

@@ -132,4 +132,3 @@ $(function(){ - diff --git a/docs/example-parsers-named-numbers.html b/docs/example-parsers-named-numbers.html index ee585072..89e97e25 100644 --- a/docs/example-parsers-named-numbers.html +++ b/docs/example-parsers-named-numbers.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter - Named Numbers Parser + + jQuery tablesorter - Named Numbers Parser @@ -42,20 +42,20 @@

NOTE! -

    -
  • In v2.22.0, this parser will now ignore commas, periods and quotes adjacent to the named number word (e.g. "10 million, three...").
  • -
  • This parser will convert named numbers into appropriate values so they are sorted correctly.
  • -
  • Named numbers include values: -
      -
    • zero to twenty; by one ("one", "two", "three", ..., "nineteen", "twenty")
    • -
    • twenty to hundred; by ten ("twenty", "thirty", "forty", ... "ninety", "hundred")
    • -
    • thousand (1e3) to duotrigintillion (1e99); by 10^(3n+3) value ("thousand", "million", "billion", ... "untrigintillion", "duotrigintillion")
    • -
    • googl (1e100)
    • -
    -
  • -
  • Even bigger named values will need to be manually added to the parser code; see this wikipedia page for more names.
  • -
-

+

+
    +
  • In v2.22.0, this parser will now ignore commas, periods and quotes adjacent to the named number word (e.g. "10 million, three...").
  • +
  • This parser will convert named numbers into appropriate values so they are sorted correctly.
  • +
  • Named numbers include values: +
      +
    • zero to twenty; by one ("one", "two", "three", ..., "nineteen", "twenty")
    • +
    • twenty to hundred; by ten ("twenty", "thirty", "forty", ... "ninety", "hundred")
    • +
    • thousand (1e3) to duotrigintillion (1e99); by 10^(3n+3) value ("thousand", "million", "billion", ... "untrigintillion", "duotrigintillion")
    • +
    • googl (1e100)
    • +
    +
  • +
  • Even bigger named values will need to be manually added to the parser code; see this wikipedia page for more names.
  • +

Demo

@@ -154,4 +154,3 @@ $(function(){ - diff --git a/docs/example-parsers-roman.html b/docs/example-parsers-roman.html index 8d38cd16..b77704d7 100644 --- a/docs/example-parsers-roman.html +++ b/docs/example-parsers-roman.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Roman Numeral Parser + + jQuery tablesorter 2.0 - Roman Numeral Parser @@ -203,7 +203,8 @@
IXDCCLVIIligMod L2008 XXIX Beijing
- * Ignoring the last letter (set number to ignore in roman_ignore option array; notice that "vi b" sorts before "via" - spaces do matter!)

+ * Ignoring the last letter (set number to ignore in roman_ignore option array; notice that "vi b" sorts before "via" - spaces do matter!) +

Page Header

@@ -226,8 +227,6 @@

 	
-
- +
diff --git a/docs/example-parsers.html b/docs/example-parsers.html index 85546211..91c91882 100644 --- a/docs/example-parsers.html +++ b/docs/example-parsers.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Writing custom parsers + + jQuery tablesorter 2.0 - Writing custom parsers @@ -58,42 +58,42 @@ $(function() {
-
+

Notes about the addParser template: -

-
+

+

Add Parser Template

$.tablesorter.addParser({
@@ -154,7 +154,7 @@ $(function() {
 	

HTML

NOTE! Assigning the parser using a class name was added in version 2.0.11 (it is not part of the original plugin; use the headers option in older versions). -

+


 	
@@ -168,4 +168,3 @@ $(function() { - diff --git a/docs/example-trigger-sort.html b/docs/example-trigger-sort.html index 354ca8fb..a3864632 100644 --- a/docs/example-trigger-sort.html +++ b/docs/example-trigger-sort.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sort table using a link outside the table + + jQuery tablesorter 2.0 - Sort table using a link outside the table @@ -100,12 +100,12 @@

NOTE! -

-

+

+
diff --git a/docs/example-triggers.html b/docs/example-triggers.html index e1d267dd..015a9b59 100644 --- a/docs/example-triggers.html +++ b/docs/example-triggers.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Triggers sortStart and sortEnd + + jQuery tablesorter 2.0 - Triggers sortStart and sortEnd @@ -1108,4 +1108,3 @@ - diff --git a/docs/example-update-all.html b/docs/example-update-all.html index f9873eb9..15ea5ede 100644 --- a/docs/example-update-all.html +++ b/docs/example-update-all.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Update headers & table body (updateAll) + + jQuery tablesorter 2.0 - Update headers & table body (updateAll) @@ -63,12 +63,12 @@

NOTE! -

    -
  • This demo uses the updateAll method (v2.8).
  • -
  • This method allows you to update the cache with data from both the thead and tbody of the table.
  • -
  • The update method only updates the cache from the tbody.
  • -
-

+

+
    +
  • This demo uses the updateAll method (v2.8).
  • +
  • This method allows you to update the cache with data from both the thead and tbody of the table.
  • +
  • The update method only updates the cache from the tbody.
  • +

Demo

diff --git a/docs/example-update-cell.html b/docs/example-update-cell.html index 74befcf6..d5fab1f2 100644 --- a/docs/example-update-cell.html +++ b/docs/example-update-cell.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Updating a table cell + + jQuery tablesorter 2.0 - Updating a table cell @@ -55,12 +55,12 @@

NOTE! -

    -
  • Click on any value in the Total column to change it to a random amount.
  • -
  • This option is part of the original plugin.
  • -
  • Automatic resorting after "updateCell" is triggered was added in version 2.0.14.
  • -
-

+

+
    +
  • Click on any value in the Total column to change it to a random amount.
  • +
  • This option is part of the original plugin.
  • +
  • Automatic resorting after "updateCell" is triggered was added in version 2.0.14.
  • +

Demo

diff --git a/docs/example-widget-align-character.html b/docs/example-widget-align-character.html index 514f410d..f3c1a32f 100644 --- a/docs/example-widget-align-character.html +++ b/docs/example-widget-align-character.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Align Character Widget + + jQuery tablesorter 2.0 - Align Character Widget @@ -452,4 +452,3 @@ $(function(){ - diff --git a/docs/example-widget-bootstrap-theme-v2.html b/docs/example-widget-bootstrap-theme-v2.html index e04de0b9..cfe412c6 100644 --- a/docs/example-widget-bootstrap-theme-v2.html +++ b/docs/example-widget-bootstrap-theme-v2.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - jQuery UITheme Widget (Bootstrap v2.x) + jQuery tablesorter 2.0 - jQuery UITheme Widget (Bootstrap v2.x) @@ -148,12 +148,12 @@

NOTE! -

    -
  • This demo uses Bootstrap v2.x (v2.3.2 specifically).
  • -
  • Hover over the thick grey bar under the header to reveal the filter row.
  • -
  • For more information like revision history of this theme & why there is a button to enable/disable the zebra widget, please see the Bootstrap v3.x demo.
  • -
-

+

+
    +
  • This demo uses Bootstrap v2.x (v2.3.2 specifically).
  • +
  • Hover over the thick grey bar under the header to reveal the filter row.
  • +
  • For more information like revision history of this theme & why there is a button to enable/disable the zebra widget, please see the Bootstrap v3.x demo.
  • +

Demo

@@ -292,4 +292,3 @@ - diff --git a/docs/example-widget-bootstrap-theme.html b/docs/example-widget-bootstrap-theme.html index eafd3a2b..0d037312 100644 --- a/docs/example-widget-bootstrap-theme.html +++ b/docs/example-widget-bootstrap-theme.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - jQuery UITheme Widget (Bootstrap v3.x) + jQuery tablesorter 2.0 - jQuery UITheme Widget (Bootstrap v3.x) @@ -151,43 +151,43 @@

NOTE! -

    -
  • New!In tablesorter v2.11+, The bootstrap theme now works with Bootstrap 3 and older versions. -
      -
    • Note the changes to the sorting icons in the $.tablesorter.themes.bootstrap defaults below.
    • -
    • Just use the appropriate icon class name (icon-{name} for Bootstrap v2, and glyphicon glyphicon-{name} for Bootstrap v3.
    • -
    • And of course include the necessary Bootstrap image or font).
    • -
    • Wrapped all of the pager controls in the tfoot within a div (don't use the class name pager as it adds a lot of padding) to keep the controls from being centered.
    • -
    • Pager control buttons in the tfoot have class names needed for both Bootstrap v2+ and v3, so there's no need for you to use both, just use the ones you need.
    • -
    -
  • -
  • As of tablesorter version 2.9+, this widget can no longer be applied to versions of tablesorter prior to version 2.8.
  • -
  • Make sure to include the {icon} in the headerTemplate to add a sorting arrow to the headers.
  • -
  • Added in v2.7! -
      -
    • You will need to modify the headerTemplate option to include the bootstrap icon! See the example in the code.
    • -
    • Setting theme option to "Bootstrap" will now override/ignore the uitheme value in the widgetOptions.
    • -
    -
  • -
  • In tablesorter v2.4, the uitheme option has changed to indicate the theme instead of an array of icons to use: -
      -
    • All theme class names are now contained within $.tablesorter.themes with the Bootstrap theme saved to $.tablesorter.themes.bootstrap.
    • -
    • The themes variable allows you to modify the class names for the table, header, sort icons, active state, hover state, filter inputs and zebra striping. See the code below on how to extend these variables.
    • -
    • Set the uitheme widget theme option (changed in v2.7) to "bootstrap" to set the widget to use the Bootstrap theme. See the jQuery UI demo for another example.
    • -
    -
  • -
  • This demo shows how to get around an issue with the filter widget: -
      -
    • The zebra widget button below was added to show that when bootstrap's "table-striped" class is applied, the css defined zebra striping will not apply correctly because table rows are hidden but still accounted for by the css nth-child() selector.
    • -
    • To better understand this issue, disable the zebra widget (using the toggle button). Now in the "Calculus" column.
    • -
    • Try other filter searches with the zebra widget disabled, like in the "Sex" column.
    • -
    • To solve this issue, just enable the zebra widget and the "even" and "odd" row class names will should over-ride the nth-child() styling.
      NOTE! This doesn't seem to work in the latest Bootstrap version, so you'll have to remove the "table-striped" class completely from the table.
    • -
    • The only down side is that for custom bootstrap themes, you'll need to edit the "theme.bootstrap.css" file for bootstrap.
    • -
    -
  • -
  • This demo uses HTML5 data attributes and therefore needs jQuery 1.4+.
  • -
-

+

+
    +
  • New!In tablesorter v2.11+, The bootstrap theme now works with Bootstrap 3 and older versions. +
      +
    • Note the changes to the sorting icons in the $.tablesorter.themes.bootstrap defaults below.
    • +
    • Just use the appropriate icon class name (icon-{name} for Bootstrap v2, and glyphicon glyphicon-{name} for Bootstrap v3.
    • +
    • And of course include the necessary Bootstrap image or font).
    • +
    • Wrapped all of the pager controls in the tfoot within a div (don't use the class name pager as it adds a lot of padding) to keep the controls from being centered.
    • +
    • Pager control buttons in the tfoot have class names needed for both Bootstrap v2+ and v3, so there's no need for you to use both, just use the ones you need.
    • +
    +
  • +
  • As of tablesorter version 2.9+, this widget can no longer be applied to versions of tablesorter prior to version 2.8.
  • +
  • Make sure to include the {icon} in the headerTemplate to add a sorting arrow to the headers.
  • +
  • Added in v2.7! +
      +
    • You will need to modify the headerTemplate option to include the bootstrap icon! See the example in the code.
    • +
    • Setting theme option to "Bootstrap" will now override/ignore the uitheme value in the widgetOptions.
    • +
    +
  • +
  • In tablesorter v2.4, the uitheme option has changed to indicate the theme instead of an array of icons to use: +
      +
    • All theme class names are now contained within $.tablesorter.themes with the Bootstrap theme saved to $.tablesorter.themes.bootstrap.
    • +
    • The themes variable allows you to modify the class names for the table, header, sort icons, active state, hover state, filter inputs and zebra striping. See the code below on how to extend these variables.
    • +
    • Set the uitheme widget theme option (changed in v2.7) to "bootstrap" to set the widget to use the Bootstrap theme. See the jQuery UI demo for another example.
    • +
    +
  • +
  • This demo shows how to get around an issue with the filter widget: +
      +
    • The zebra widget button below was added to show that when bootstrap's "table-striped" class is applied, the css defined zebra striping will not apply correctly because table rows are hidden but still accounted for by the css nth-child() selector.
    • +
    • To better understand this issue, disable the zebra widget (using the toggle button). Now in the "Calculus" column.
    • +
    • Try other filter searches with the zebra widget disabled, like in the "Sex" column.
    • +
    • To solve this issue, just enable the zebra widget and the "even" and "odd" row class names will should over-ride the nth-child() styling.
      NOTE! This doesn't seem to work in the latest Bootstrap version, so you'll have to remove the "table-striped" class completely from the table.
    • +
    • The only down side is that for custom bootstrap themes, you'll need to edit the "theme.bootstrap.css" file for bootstrap.
    • +
    +
  • +
  • This demo uses HTML5 data attributes and therefore needs jQuery 1.4+.
  • +

Demo

@@ -326,4 +326,3 @@ - diff --git a/docs/example-widget-build-table.html b/docs/example-widget-build-table.html index d9220e4b..288549af 100644 --- a/docs/example-widget-build-table.html +++ b/docs/example-widget-build-table.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Build Table Widget + jQuery tablesorter 2.0 - Build Table Widget diff --git a/docs/example-widget-chart.html b/docs/example-widget-chart.html index 4bda00a8..2203cf52 100644 --- a/docs/example-widget-chart.html +++ b/docs/example-widget-chart.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Chart Widget + + jQuery tablesorter 2.0 - Chart Widget @@ -701,4 +701,3 @@ $(function(){ - diff --git a/docs/example-widget-column-selector.html b/docs/example-widget-column-selector.html index 734ec000..0eb540a5 100644 --- a/docs/example-widget-column-selector.html +++ b/docs/example-widget-column-selector.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Column Selector Widget + + jQuery tablesorter 2.0 - Column Selector Widget @@ -512,7 +512,7 @@ $.tablesorter.columnSelector.refreshColumns( config, optionName, optionState );< -

+

Demo

@@ -692,4 +692,3 @@ $.tablesorter.columnSelector.refreshColumns( config, optionName, optionState );< - diff --git a/docs/example-widget-columns.html b/docs/example-widget-columns.html index 869686c0..2a273fb6 100644 --- a/docs/example-widget-columns.html +++ b/docs/example-widget-columns.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Columns Style Widget + + jQuery tablesorter 2.0 - Columns Style Widget @@ -82,14 +82,14 @@ $(function() {

NOTE! -

    -
  • As of tablesorter version 2.9+, this widget can no longer be applied to versions of tablesorter prior to version 2.8.
  • -
  • Older versions of this widget can be applied to the original plugin. The code is in the "jquery.tablesorter.widgets.js" file.
  • -
  • The original "widgetColumns" option has been replaced by "widgetOptions.columns". See the javascript block below for more details (v2.1).
  • -
  • Table header and footer rows now get updated with the columns widget classes. Check out the "grey" theme to see (v2.4).
  • -
  • This demo page is running jQuery v1.2.6.
  • -
-

+

+
    +
  • As of tablesorter version 2.9+, this widget can no longer be applied to versions of tablesorter prior to version 2.8.
  • +
  • Older versions of this widget can be applied to the original plugin. The code is in the "jquery.tablesorter.widgets.js" file.
  • +
  • The original "widgetColumns" option has been replaced by "widgetOptions.columns". See the javascript block below for more details (v2.1).
  • +
  • Table header and footer rows now get updated with the columns widget classes. Check out the "grey" theme to see (v2.4).
  • +
  • This demo page is running jQuery v1.2.6.
  • +

Demo

Choose Theme: @@ -224,4 +224,3 @@ table.tablesorter-blue tr.even td.tertiary { - diff --git a/docs/example-widget-css-sticky-header.html b/docs/example-widget-css-sticky-header.html index f7debb50..631d7eb1 100644 --- a/docs/example-widget-css-sticky-header.html +++ b/docs/example-widget-css-sticky-header.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - CSS Sticky Header Widget + jQuery tablesorter 2.0 - CSS Sticky Header Widget @@ -217,7 +217,7 @@ $(function() { -

+

CSS

@@ -534,4 +534,3 @@ $(function() { - diff --git a/docs/example-widget-editable.html b/docs/example-widget-editable.html index d1e480f6..a29602e3 100644 --- a/docs/example-widget-editable.html +++ b/docs/example-widget-editable.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Content Editable + + jQuery tablesorter 2.0 - Content Editable @@ -597,4 +597,3 @@ $(function() { - diff --git a/docs/example-widget-filter-any-match.html b/docs/example-widget-filter-any-match.html index eeb23891..f12200b2 100644 --- a/docs/example-widget-filter-any-match.html +++ b/docs/example-widget-filter-any-match.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Filter Widget External Search + jQuery tablesorter 2.0 - Filter Widget External Search diff --git a/docs/example-widget-filter-childrows.html b/docs/example-widget-filter-childrows.html index 41aeb847..1a58ee64 100644 --- a/docs/example-widget-filter-childrows.html +++ b/docs/example-widget-filter-childrows.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Filter widget with child rows (+ Grouping) + jQuery tablesorter 2.0 - Filter widget with child rows (+ Grouping) @@ -129,18 +129,18 @@ tr.group-header.collapsed td i {

NOTE! -

    -
  • Added filter_childWithSibs in v2.23.4, to see what it does: -
      -
    • Search the "Stock" () or "Price" () column.
    • -
    • Use the "Toggle" button to change the setting.
    • -
    • When filter_childWithSibs is false, only the child rows that match the filter are visible.
    • -
    • When it is true, all sibling child rows will be visible.
    • -
    • The parent row will always be visible.
    • -
    -
  • -
-

+

+
    +
  • Added filter_childWithSibs in v2.23.4, to see what it does: +
      +
    • Search the "Stock" () or "Price" () column.
    • +
    • Use the "Toggle" button to change the setting.
    • +
    • When filter_childWithSibs is false, only the child rows that match the filter are visible.
    • +
    • When it is true, all sibling child rows will be visible.
    • +
    • The parent row will always be visible.
    • +
    +
  • +

Demo

diff --git a/docs/example-widget-filter-custom-search.html b/docs/example-widget-filter-custom-search.html index 6c3605f7..95eef321 100644 --- a/docs/example-widget-filter-custom-search.html +++ b/docs/example-widget-filter-custom-search.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Custom Filter Widget Search Types + jQuery tablesorter 2.0 - Custom Filter Widget Search Types @@ -295,4 +295,3 @@ $.extend($.tablesorter.language, { - diff --git a/docs/example-widget-filter-custom-search2.html b/docs/example-widget-filter-custom-search2.html index 7385086d..e5a21902 100644 --- a/docs/example-widget-filter-custom-search2.html +++ b/docs/example-widget-filter-custom-search2.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Custom Filter Widget Search Type (example 2) + jQuery tablesorter 2.0 - Custom Filter Widget Search Type (example 2) diff --git a/docs/example-widget-filter-custom.html b/docs/example-widget-filter-custom.html index 5f6a463c..f602353a 100644 --- a/docs/example-widget-filter-custom.html +++ b/docs/example-widget-filter-custom.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Custom Filter Widget Functions + jQuery tablesorter 2.0 - Custom Filter Widget Functions @@ -483,4 +483,3 @@ - diff --git a/docs/example-widget-filter-external-inputs.html b/docs/example-widget-filter-external-inputs.html index e9d85e46..2abda62c 100644 --- a/docs/example-widget-filter-external-inputs.html +++ b/docs/example-widget-filter-external-inputs.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Filter Widget External Inputs + jQuery tablesorter 2.0 - Filter Widget External Inputs diff --git a/docs/example-widget-filter-formatter-1.html b/docs/example-widget-filter-formatter-1.html index 59a34617..d2995a5d 100644 --- a/docs/example-widget-filter-formatter-1.html +++ b/docs/example-widget-filter-formatter-1.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Custom Filter Widget Formatter (jQuery UI widgets) + jQuery tablesorter 2.0 - Custom Filter Widget Formatter (jQuery UI widgets) @@ -635,4 +635,3 @@ - diff --git a/docs/example-widget-filter-formatter-2.html b/docs/example-widget-filter-formatter-2.html index 3310388b..79d2b7e8 100644 --- a/docs/example-widget-filter-formatter-2.html +++ b/docs/example-widget-filter-formatter-2.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Custom Filter Widget Formatter (HTML5 Elements) + jQuery tablesorter 2.0 - Custom Filter Widget Formatter (HTML5 Elements) diff --git a/docs/example-widget-filter-formatter-select2.html b/docs/example-widget-filter-formatter-select2.html index ef977525..f8cfd933 100644 --- a/docs/example-widget-filter-formatter-select2.html +++ b/docs/example-widget-filter-formatter-select2.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Filter Formatter: select2 (beta) + jQuery tablesorter 2.0 - Filter Formatter: select2 (beta) @@ -170,7 +170,7 @@
-

+

Demo

diff --git a/docs/example-widget-filter-selectmenu.html b/docs/example-widget-filter-selectmenu.html index 0121b3ce..6c393dd1 100644 --- a/docs/example-widget-filter-selectmenu.html +++ b/docs/example-widget-filter-selectmenu.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Filter Widget + jQuery UI Selectmenu + jQuery tablesorter 2.0 - Filter Widget + jQuery UI Selectmenu @@ -95,16 +95,17 @@

-

    -
  • Demo added v2.24.4, to demonstrate how to use jQuery UI Selectmenu widget on a filter row select.
  • -
  • *NOTE* - Selectmenu will not work properly in all circumstances: -
      -
    • When an "updateAll" method is triggered on the table, the filter row is removed & replaced due to the possibility of a column being added or removed. Selectmenu initialization will need to be performed again.
    • -
    • If using selectmenu along with a widget that constantly removes & rebuilds extra table headers & filter rows (e.g. the scroller widget), the selectmenu initialization will need to be performed again, or just avoid using those widgets.
    • -
    -
  • -
-

+ NOTE! +

+
    +
  • Demo added v2.24.4, to demonstrate how to use jQuery UI Selectmenu widget on a filter row select.
  • +
  • *NOTE* - Selectmenu will not work properly in all circumstances: +
      +
    • When an "updateAll" method is triggered on the table, the filter row is removed & replaced due to the possibility of a column being added or removed. Selectmenu initialization will need to be performed again.
    • +
    • If using selectmenu along with a widget that constantly removes & rebuilds extra table headers & filter rows (e.g. the scroller widget), the selectmenu initialization will need to be performed again, or just avoid using those widgets.
    • +
    +
  • +

Demo

diff --git a/docs/example-widget-filter.html b/docs/example-widget-filter.html index f8393c25..7056d553 100644 --- a/docs/example-widget-filter.html +++ b/docs/example-widget-filter.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Filter Widget + jQuery tablesorter 2.0 - Filter Widget @@ -303,7 +303,7 @@ $(function(){
10textAny text entered in the filter will match text found within the columnabc (finds "abc", "abcd", "abcde", etc); (finds "Aaron" and "Philip Aaron Wong")
- (1) The filter order (or precendence) of how searches are checked in "priority" (first column) order; so an exact match will override "range" searches (*NOTE* order changed in v2.15, operators prioritized before exact; see issue #465; order changed again in v2.17.1 to move "not match" before "exact" and allow for exact not matches; see issue #628). In v2.22.2, the "or" and "and" types can combine any of the other filter types together.
+ (1) The filter order (or precendence) of how searches are checked in "priority" (first column) order; so an exact match will override "range" searches (*NOTE* order changed in v2.15, operators prioritized before exact; see issue #465; order changed again in v2.17.1 to move "not match" before "exact" and allow for exact not matches; see issue #628). In v2.22.2, the "or" and "and" types can combine any of the other filter types together.
(2) Logical "or" comparisons can now show exact matches (by default; v2.10.1) or just match cell contents.
(3) In tablesorter v2.10, comparisons can be made in date columns (if properly parsed). @@ -381,6 +381,7 @@ $(function(){

The filter cell (<td>) is not to be confused with the filter_cssFilter option which adds an extra class name to the filter inputs (<input>). +
@@ -734,11 +735,12 @@ $.extend($.tablesorter.language, {
  • Warning These language values are added to a regular expression using new RegExp():
      -
    • So you will need to escape any special characters contained in these values (e.g. . \ + * ? [ ^ ] $ ( ) { } = ! < > | : -).
    • +
    • So you will need to escape any special characters contained in these values (e.g. . \ + * ? [ ^ ] $ ( ) { } = ! < > | : -).
    • This function might help (ref):
      function escapeRegExp( string ) {
       		  return string.replace( /[.*+?^${}()|[\]\\]/g, '\\$&' );
      -		}
    • + }
  • + diff --git a/docs/example-widget-formatter.html b/docs/example-widget-formatter.html index 3f03758e..2bcee086 100644 --- a/docs/example-widget-formatter.html +++ b/docs/example-widget-formatter.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Formatter Widget + + jQuery tablesorter 2.0 - Formatter Widget @@ -214,7 +214,7 @@ function prettyDate(date){ SupermanBugatti VeyronDuckie1/1/2015 - FlashHennessey VenomHorse12/22/2014 + FlashHennessey VenomHorse12/22/2014 BatmanKoenigsegg AgeraElephant3/10/2010 Green LanternSSC Ultimate AeroCow5/5/2012 Howard the DuckKoenigsegg CCXPizza1/1/2005 diff --git a/docs/example-widget-grouping-filter-childrows.html b/docs/example-widget-grouping-filter-childrows.html index df404098..955561bc 100644 --- a/docs/example-widget-grouping-filter-childrows.html +++ b/docs/example-widget-grouping-filter-childrows.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Grouping + Filter widget with child rows + jQuery tablesorter 2.0 - Grouping + Filter widget with child rows @@ -115,15 +115,15 @@ tr.group-header.collapsed td i {

    NOTE! -

    -

    +

    +

    Demo

    diff --git a/docs/example-widget-grouping.html b/docs/example-widget-grouping.html index a562efc8..c23b52c2 100644 --- a/docs/example-widget-grouping.html +++ b/docs/example-widget-grouping.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Grouping Rows Widget + jQuery tablesorter 2.0 - Grouping Rows Widget diff --git a/docs/example-widget-header-titles.html b/docs/example-widget-header-titles.html index 997ab271..3957e075 100644 --- a/docs/example-widget-header-titles.html +++ b/docs/example-widget-header-titles.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - headerTitles widget + + jQuery tablesorter 2.0 - headerTitles widget @@ -318,4 +318,3 @@ headerTitle_output_nosort : 'No sort available' - diff --git a/docs/example-widget-lazyload.html b/docs/example-widget-lazyload.html index 03618fdf..29a3374a 100644 --- a/docs/example-widget-lazyload.html +++ b/docs/example-widget-lazyload.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Lazyload widget + + jQuery tablesorter 2.0 - Lazyload widget @@ -125,6 +125,7 @@
    + jQuery scrollstop plugin option diff --git a/docs/example-widget-math.html b/docs/example-widget-math.html index db323907..da0aada9 100644 --- a/docs/example-widget-math.html +++ b/docs/example-widget-math.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Math Widget + jQuery tablesorter 2.0 - Math Widget diff --git a/docs/example-widget-output.html b/docs/example-widget-output.html index cca2b098..bcfdd14d 100644 --- a/docs/example-widget-output.html +++ b/docs/example-widget-output.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Output Widget + jQuery tablesorter 2.0 - Output Widget diff --git a/docs/example-widget-pager-ajax.html b/docs/example-widget-pager-ajax.html index bcfa822a..a227d594 100644 --- a/docs/example-widget-pager-ajax.html +++ b/docs/example-widget-pager-ajax.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Pager Widget - Ajax + + jQuery tablesorter 2.0 - Pager Widget - Ajax @@ -177,23 +177,23 @@

    - NOTE! + NOTE! +

    +

    Demo

    Original Ajax url:
    diff --git a/docs/example-widget-pager.html b/docs/example-widget-pager.html index 7d9e7fad..cd71a2eb 100644 --- a/docs/example-widget-pager.html +++ b/docs/example-widget-pager.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Pager Widget + + jQuery tablesorter 2.0 - Pager Widget @@ -231,27 +231,27 @@

    NOTE! -

    Triggered Events

    -

    +

    Demo

    Print
    diff --git a/docs/example-widget-reflow.html b/docs/example-widget-reflow.html index 3f6e5a98..760d7a59 100644 --- a/docs/example-widget-reflow.html +++ b/docs/example-widget-reflow.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Table Reflow Widget + + jQuery tablesorter 2.0 - Table Reflow Widget @@ -493,7 +493,7 @@ table.ui-table-reflow .ui-table-cell-label.ui-table-cell-label-top {
    -

    +

    Demo (Pick a table width or resize the browser window)

    Reflow widget only

    diff --git a/docs/example-widget-reflow1.html b/docs/example-widget-reflow1.html index c61e4988..474ec92c 100644 --- a/docs/example-widget-reflow1.html +++ b/docs/example-widget-reflow1.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Table Reflow Widget (beta) + + jQuery tablesorter 2.0 - Table Reflow Widget (beta) diff --git a/docs/example-widget-reflow2.html b/docs/example-widget-reflow2.html index 15553d10..7fabcf0f 100644 --- a/docs/example-widget-reflow2.html +++ b/docs/example-widget-reflow2.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Table Reflow Widget (beta) + + jQuery tablesorter 2.0 - Table Reflow Widget (beta) diff --git a/docs/example-widget-reflow3.html b/docs/example-widget-reflow3.html index d7a261d1..a582655f 100644 --- a/docs/example-widget-reflow3.html +++ b/docs/example-widget-reflow3.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Table Reflow Widget (beta) + + jQuery tablesorter 2.0 - Table Reflow Widget (beta) diff --git a/docs/example-widget-resizable.html b/docs/example-widget-resizable.html index dd98428a..54dd6dd1 100644 --- a/docs/example-widget-resizable.html +++ b/docs/example-widget-resizable.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Resizable Columns Widget + + jQuery tablesorter 2.0 - Resizable Columns Widget @@ -359,4 +359,3 @@ resizable_widths : [ '10%', '10%', '40px', '10%', '100px' ] - diff --git a/docs/example-widget-savesort.html b/docs/example-widget-savesort.html index bb215937..97675745 100644 --- a/docs/example-widget-savesort.html +++ b/docs/example-widget-savesort.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Save Sort Widget + + jQuery tablesorter 2.0 - Save Sort Widget @@ -50,14 +50,14 @@

    NOTE! -

    -

    +

    +

    Demo

    @@ -193,4 +193,3 @@ - diff --git a/docs/example-widget-scroller.html b/docs/example-widget-scroller.html index e72abe9a..fb063674 100644 --- a/docs/example-widget-scroller.html +++ b/docs/example-widget-scroller.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Scroller Widget + + jQuery tablesorter 2.0 - Scroller Widget diff --git a/docs/example-widget-sort-tbodies.html b/docs/example-widget-sort-tbodies.html index 7bad975a..69f5997e 100644 --- a/docs/example-widget-sort-tbodies.html +++ b/docs/example-widget-sort-tbodies.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sort multiple tbodies by primary row + + jQuery tablesorter 2.0 - Sort multiple tbodies by primary row @@ -117,6 +117,7 @@
  • The value is replaced with the value from sortTbody_noSort option so as to include info-only tbodies in the tbody sort.
  • Due to this modification, tbodies with colspan and rowspan cells may not sort or filter as expected, so it would be best to avoid colspan and rowspan cells in the primary row!
  • +
  • This widget also modifies the serverSideSorting option:
    • This value is set to true to disable tbody internal row sorting.
    • diff --git a/docs/example-widget-sort-to-hash.html b/docs/example-widget-sort-to-hash.html index f214076c..4dac26fc 100644 --- a/docs/example-widget-sort-to-hash.html +++ b/docs/example-widget-sort-to-hash.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Sort2Hash Widget (Beta) + + jQuery tablesorter 2.0 - Sort2Hash Widget (Beta) diff --git a/docs/example-widget-static-row.html b/docs/example-widget-static-row.html index a7fc9371..4bc1258f 100644 --- a/docs/example-widget-static-row.html +++ b/docs/example-widget-static-row.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Static Row Widget + jQuery tablesorter 2.0 - Static Row Widget @@ -189,7 +189,7 @@ $(table).trigger('staticRowsRefresh');

      Demo

      Note Make any row static or normal by toggling the static class name using Ctrl + left click ( + click on Mac)

      Single tbody

      -

      Move "Iguana" row:

      +

      Move "Iguana" row:

      @@ -262,8 +262,6 @@ $(table).trigger('staticRowsRefresh');
      Column 1Column 2Column 3
      -
      -

      Javascript

      
      @@ -278,6 +276,7 @@ $(table).trigger('staticRowsRefresh');
       	
  • +
    \ No newline at end of file diff --git a/docs/example-widget-sticky-header.html b/docs/example-widget-sticky-header.html index f931da4d..41173b5e 100644 --- a/docs/example-widget-sticky-header.html +++ b/docs/example-widget-sticky-header.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Sticky Header Widget + jQuery tablesorter 2.0 - Sticky Header Widget @@ -615,7 +615,7 @@ $(function() { Header for the nested table 2 - + Second header row for nested table 2 @@ -716,4 +716,3 @@ $(function() { - diff --git a/docs/example-widget-toggle-tablesorter.html b/docs/example-widget-toggle-tablesorter.html index d0255a3c..f115bbf7 100644 --- a/docs/example-widget-toggle-tablesorter.html +++ b/docs/example-widget-toggle-tablesorter.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - Toggle Widget + jQuery tablesorter 2.0 - Toggle Widget diff --git a/docs/example-widget-ui-theme.html b/docs/example-widget-ui-theme.html index dea7c9c6..997fdfd4 100644 --- a/docs/example-widget-ui-theme.html +++ b/docs/example-widget-ui-theme.html @@ -2,7 +2,7 @@ - jQuery plugin: Tablesorter 2.0 - jQuery UITheme Widget (jQuery UI) + jQuery tablesorter 2.0 - jQuery UITheme Widget (jQuery UI) @@ -106,27 +106,26 @@

    NOTE! -

    Demo


    diff --git a/docs/example-widget-view.html b/docs/example-widget-view.html index 5621bff6..8d5e49a8 100644 --- a/docs/example-widget-view.html +++ b/docs/example-widget-view.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - View Widget + + jQuery tablesorter 2.0 - View Widget @@ -412,7 +412,7 @@ html[xmlns] .clearfix { - '#ts-view-toolbar' + '#ts-view-toolbar' Element to insert toolbar (view buttons) into.

    diff --git a/docs/example-widget-zebra.html b/docs/example-widget-zebra.html index 7ecec596..83318aab 100644 --- a/docs/example-widget-zebra.html +++ b/docs/example-widget-zebra.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Zebra Stripe Widget + + jQuery tablesorter 2.0 - Zebra Stripe Widget @@ -58,12 +58,12 @@ table.tablesorter tbody tr.alt-row td {

    NOTE! -

    -

    +

    +

    Demo

    @@ -143,4 +143,3 @@ table.tablesorter tbody tr.alt-row td { - diff --git a/docs/example-widgets.html b/docs/example-widgets.html index d38721bf..a50e85ad 100644 --- a/docs/example-widgets.html +++ b/docs/example-widgets.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.0 - Writing custom widgets + + jQuery tablesorter 2.0 - Writing custom widgets @@ -249,4 +249,3 @@ $.tablesorter.addWidget({ - diff --git a/docs/index.html b/docs/index.html index 2c6676da..71b7a8df 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ -jQuery plugin: Tablesorter 2.0 +jQuery tablesorter 2.0 @@ -93,7 +93,7 @@ Licence: Dual licensed under MIT or GPL licenses.
    -

    +

    Contents

    @@ -120,7 +120,7 @@ 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
    • @@ -216,7 +216,7 @@

      TIP! Sort multiple columns simultaneously by holding down the Shift key and clicking a second, third or even fourth column header! -

      +

      Getting started

      @@ -224,7 +224,7 @@ To use the tablesorter plugin, include the jQuery library and the tablesorter plugin inside the <head> tag of your HTML document: -

      +

      <!-- choose a theme file -->
       <link rel="stylesheet" href="/path/to/theme.default.css">
      @@ -236,7 +236,7 @@
       <script type="text/javascript" src="/path/to/jquery.tablesorter.widgets.js"></script>
       
      -

      tablesorter works on standard HTML tables. You must include THEAD and TBODY tags:

      +

      tablesorter works on standard HTML tables. You must include THEAD and TBODY tags:

      <table id="myTable" class="tablesorter">
         <thead>
      @@ -280,7 +280,7 @@
         </tbody>
       </table>
      -

      Start by telling tablesorter to sort your table when the document is loaded:

      +

      Start by telling tablesorter to sort your table when the document is loaded:

      $(function(){
         $("#myTable").tablesorter();
      @@ -290,7 +290,7 @@
       		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.
      -	

      +

      $(function(){
         $("#myTable").tablesorter({ sortList: [[0,0], [1,0]] });
      @@ -298,14 +298,14 @@
       
       	

      NOTE! tablesorter will auto-detect most data types including numbers, dates, ip-addresses for more information see Examples. -

      +

      Examples

      These examples will show what's possible with tablesorter. You need Javascript enabled to run these samples, just like you and your users will need Javascript enabled to use tablesorter. -

      +

      Basic

      @@ -7566,18 +7566,17 @@ $.tablesorter.addHeaderResizeEvent( table, true );

      Thanks to all that have contributed code, comments, feedback and everything else. A special thanks goes out to: -

      -

      -

      - John Resig for the fantastic jQuery

      + +

      + John Resig for the fantastic jQuery diff --git a/docs/themes.html b/docs/themes.html index a726f084..e34cea50 100644 --- a/docs/themes.html +++ b/docs/themes.html @@ -1,8 +1,8 @@ - - jQuery plugin: Tablesorter 2.4 - Themes + + jQuery tablesorter 2.4 - Themes