version bump

This commit is contained in:
Rob Garrison 2015-10-31 11:06:09 -05:00
parent 6905b9bb3e
commit 1d813bd766
66 changed files with 236 additions and 148 deletions

View File

@ -92,6 +92,89 @@ If you would like to contribute, please...
View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes).
#### <a name="v2.24.0">Version 2.24.0</a> (10/27/2015)
* Docs
* Fix mixed content using GitHub buttons on main page. See [pull #1029](https://github.com/Mottie/tablesorter/pull/1029); thanks [OmgImAlexis](https://github.com/OmgImAlexis)!
* Clarify use of pager `ajaxUrl` option.
* Add theme class to tables to prevent FOUC.
* Fix left menu push. The body no longer squeezes the content.
* Update stickyHeaders after menu close.
* Include horizontal scroll while jumping to search result.
* Add some examples (`filter_cssFilter`).
* Global
* Call internal functions directly; stop using triggered events.
* Core
* Use plain javascript to set index attribute & remove unused variable. See [issue #1048](https://github.com/Mottie/tablesorter/issues/1048).
* Add "entire column `colspan`" support. See issues [#485](https://github.com/Mottie/tablesorter/issues/485), [#746](https://github.com/Mottie/tablesorter/issues/746) & [#1047](https://github.com/Mottie/tablesorter/issues/1047).
* Fix parser detect & sortVars on columns that don't exist due to colspan. See issues [#485](https://github.com/Mottie/tablesorter/issues/485), [#746](https://github.com/Mottie/tablesorter/issues/746) & [#1047](https://github.com/Mottie/tablesorter/issues/1047).
* Reformat structure & expand variable names.
* Add `rowFilter` parameter to `getColumnText` function.
* Fix multisort indicators. Fixes [issue #1005](https://github.com/Mottie/tablesorter/issues/1005), again.
* `sortAppend` now accepts an object of column references; see [Stackoverflow](http://stackoverflow.com/q/33177910/145346).
* Internalize sort counter & fix spanned sorts.
* Add `"tablesorter-ready"` event.
* Add widget from class before adding widget options.
* Maintaining support for IE7-8 until 1/12/16.
* Chart
* Fix `chart_layout` column indexing.
* ColumnSelector
* Add `mediaqueryHidden` option. Resolves [issue #964](https://github.com/Mottie/tablesorter/issues/964).
* Extra rows & colspans now supported in `thead` & `tfoot`. Fixes [issue #501](https://github.com/Mottie/tablesorter/issues/501).
* Fix jscs reported issues.
* Filter
* Encode/decode filters in case they end up in cookies. See [issue #1026](https://github.com/Mottie/tablesorter/issues/1026).
* Add "entire column `colspan`" support. See issues [#485](https://github.com/Mottie/tablesorter/issues/485), [#746](https://github.com/Mottie/tablesorter/issues/746) & [#1047](https://github.com/Mottie/tablesorter/issues/1047).
* `hideFilters` applies to stickyHeaders again. Fixes [issue #1050](https://github.com/Mottie/tablesorter/issues/1050).
* Prevent error in `formatterUpdated`. Fixes [issue #1056](https://github.com/Mottie/tablesorter/issues/1056).
* Grouping
* Prevent error if `group_forceColumn` is improperly defined. See [issue #1030](https://github.com/Mottie/tablesorter/issues/1030).
* Improve compatibility with [jQuery Globalize](https://github.com/jquery/globalize); Find [more details here](http://mottie.github.io/tablesorter/docs/example-widget-grouping.html#globalization).
* Update header in pager with `removeRows:true`. Fixes [issue #1035](https://github.com/Mottie/tablesorter/issues/1035).
* HeaderTitles
* Switch to use internalized sort counter.
* Lazyload
* Add new widget. [Demo](http://mottie.github.io/tablesorter/docs/example-widget-lazyload.html)
* Math
* Created new calculation type "below". It works just like "above" except in other direction starting from top to bottom. See [pull #1027](https://github.com/Mottie/tablesorter/pull/1027); thanks [LvLynx](https://github.com/LvLynx)!
* Tweak changes & more tweaks for better compression.
* Detach table prior to indexing all cells. See [issue #1048](https://github.com/Mottie/tablesorter/issues/1048).
* Add `math_none` option.
* Include `config` parameter in math equations - needed for `math_none` option.
* Output
* Correct `formatContent` function comment (missing widgetOptions variable)
* Do not include nested table headers with parent. Fixes [issue #1040](https://github.com/Mottie/tablesorter/issues/1040).
* Pager
* Clear tbody if no data returned by ajax. See [issue #1032](https://github.com/Mottie/tablesorter/issues/1032).
* Add "all" setting for page size methods; includes select option & all methods. See [issue #1055](https://github.com/Mottie/tablesorter/issues/1055).
* Fix pager widget demo destroy method.
* destroyPager again reveals all rows. Fixes [issue #1055](https://github.com/Mottie/tablesorter/issues/1055).
* Parse page numbers to prevent user seeing `NaN`.
* Parse page size updates.
* Print
* Internal variable tweaks.
* Include css to hide filter rows. Fixes [issue #1046](https://github.com/Mottie/tablesorter/issues/1046).
* Add print delay; allows browsers to render print preview.
* Scroller
* Fix `scroller_barWidth` issue in iOS. See [pull #1062](https://github.com/Mottie/tablesorter/pull/1062); thanks [fire-wally](https://github.com/fire-wally)!
* Sort2Hash
* Update to include pager (page & size) and filter parameters.
* SortTbodies
* Moved config string defaults to `$.tablesorter.strings` to match core reformatting.
* StickyHeaders
* `hideFilters` applies to stickyHeaders again. Fixes [issue #1050](https://github.com/Mottie/tablesorter/issues/1050).
* View
* Add new widget. [Demo](http://mottie.github.io/tablesorter/docs/example-widget-view.html).
* Fix jscs reported issues.
* Parsers
* Globalize parser now allows a different language per column.
* Fix jscs reported issues.
* Misc
* Bower: use correct theme name. Fixes [issue #1028](https://github.com/Mottie/tablesorter/issues/1028).
* Readme: Add link to [UserFrosting](https://github.com/alexweissman/UserFrosting) by [alexweissman](https://github.com/alexweissman)
* Updated build dependencies x2.
* Added development files & directories to bower ignore. See [pull #1063](https://github.com/Mottie/tablesorter/pull/1063); thanks [jdufresne](https://github.com/jdufresne)!
#### <a name="v2.23.5">Version 2.23.5</a> (10/4/2015)
* Core:
@ -122,17 +205,3 @@ View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes
* Add `filter_childWithSIbs` option. Fixes [issue #1020](https://github.com/Mottie/tablesorter/issues/1020).
* Build
* Update dependencies.
#### <a name="v2.23.3">Version 2.23.3</a> (9/1/2015)
* Docs:
* Correction to `dateFormat` demo.
* Core:
* Corrected sorting of col/rowspan in `thead`. Fixes [issue #1005](https://github.com/Mottie/tablesorter/issues/1005).
* Correct header sort indicators in row/colspans. Fixes [issue #1005](https://github.com/Mottie/tablesorter/issues/1005).
* Filter:
* Use namespacing when binding reset. Fixes [issue #1001](https://github.com/Mottie/tablesorter/issues/1001).
* Restore triggered change namespace & prevent search before init. Fixes [issue #1002](https://github.com/Mottie/tablesorter/issues/1002).
* Group:
* Remove unused variable.
* Add `group_forceColumn` & `group_enforceSort` options. Fixes [issue #1000](https://github.com/Mottie/tablesorter/issues/1000).

View File

@ -1,6 +1,6 @@
/*!
* tablesorter (FORK) pager plugin
* updated 10/4/2015 (v2.23.5)
* updated 10/31/2015 (v2.24.0)
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {

View File

@ -1,4 +1,4 @@
/*! Dragtable Mod for TableSorter - 2/7/2015 (v2.19.0) */
/*! Dragtable Mod for TableSorter - updated 10/31/2015 (v2.24.0) */
/*
* Requires
* tablesorter v2.8+

View File

@ -1,6 +1,6 @@
/*!
* tablesorter (FORK) pager plugin
* updated 10/4/2015 (v2.23.5)
* updated 10/31/2015 (v2.24.0)
*/
/*jshint browser:true, jquery:true, unused:false */
!function(a){"use strict";/*jshint supernew:true */

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 10-31-2015 (v2.23.5)*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.24.0)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -10,7 +10,7 @@
}
}(function($) {
/*! TableSorter (FORK) v2.23.5 *//*
/*! TableSorter (FORK) v2.24.0 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -33,7 +33,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.23.5',
version : '2.24.0',
parsers : [],
widgets : [],
@ -2954,7 +2954,7 @@
})(jQuery);
/*! Widget: filter - updated 10/4/2015 (v2.23.5) *//*
/*! Widget: filter - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -4676,7 +4676,7 @@
})( jQuery );
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
/*! Widget: stickyHeaders - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.4.3+
* by Rob Garrison
*/
@ -5360,7 +5360,10 @@
})( jQuery, window );
/*! Widget: saveSort */
/*! Widget: saveSort - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
;(function ($) {
'use strict';
var ts = $.tablesorter || {};

View File

@ -4,9 +4,9 @@
*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.23.5)*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.24.0)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return function(a){"use strict";var b=a.tablesorter={version:"2.23.5",parsers:[],widgets:[],defaults:{
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return function(a){"use strict";var b=a.tablesorter={version:"2.24.0",parsers:[],widgets:[],defaults:{
// *** appearance
theme:"default",// adds tablesorter-{theme} to the table for styling
widthFixed:!1,// adds colgroup to fix widths of columns

View File

@ -8,7 +8,7 @@
}
}(function($) {
/*! TableSorter (FORK) v2.23.5 *//*
/*! TableSorter (FORK) v2.24.0 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -31,7 +31,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.23.5',
version : '2.24.0',
parsers : [],
widgets : [],

View File

@ -1,4 +1,4 @@
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return function(a){"use strict";var b=a.tablesorter={version:"2.23.5",parsers:[],widgets:[],defaults:{
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return function(a){"use strict";var b=a.tablesorter={version:"2.24.0",parsers:[],widgets:[],defaults:{
// *** appearance
theme:"default",// adds tablesorter-{theme} to the table for styling
widthFixed:!1,// adds colgroup to fix widths of columns

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 10-31-2015 (v2.23.5)*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.24.0)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -366,7 +366,7 @@
})(jQuery);
/*! Widget: filter - updated 10/4/2015 (v2.23.5) *//*
/*! Widget: filter - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -2088,7 +2088,7 @@
})( jQuery );
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
/*! Widget: stickyHeaders - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.4.3+
* by Rob Garrison
*/
@ -2772,7 +2772,10 @@
})( jQuery, window );
/*! Widget: saveSort */
/*! Widget: saveSort - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
;(function ($) {
'use strict';
var ts = $.tablesorter || {};

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.23.5)*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.24.0)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return function(a,b,c){"use strict";var d=a.tablesorter||{};
// *** Store data in local storage, with a cookie fallback ***

View File

@ -1,4 +1,4 @@
/*! Parser: jQuery Globalize - updated 10/26/2015 (v2.23.6) */
/*! Parser: jQuery Globalize - updated 10/31/2015 (v2.24.0) */
/* Extract localized data using jQuery's Globalize parsers; set
Globalize.locale( 'xx' ) in the globalize settings */
/*jshint jquery:true, newcap: false */

View File

@ -1,4 +1,4 @@
/*! Parser: input & select - updated 8/17/2015 (v2.23.0) */
/*! Parser: input & select - updated 10/31/2015 (v2.24.0) */
/*
* for jQuery 1.7+ & tablesorter 2.7.11+
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html

View File

@ -1,4 +1,4 @@
/* Widget: chart (beta) - updated 2/7/2015 (v2.19.0) */
/* Widget: chart (beta) - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
*/

View File

@ -1,4 +1,4 @@
/* Widget: columnSelector (responsive table widget) - updated 8/23/2015 (v2.23.2) */
/* Widget: columnSelector (responsive table widget) - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Justin Hallett & Rob Garrison

View File

@ -1,4 +1,4 @@
/*! Widget: editable - updated 8/17/2015 (v2.23.0) */
/*! Widget: editable - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison

View File

@ -1,4 +1,4 @@
/*! Widget: filter - updated 10/4/2015 (v2.23.5) */
/*! Widget: filter - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison

View File

@ -1,4 +1,4 @@
/*! Widget: grouping - updated 10/25/2015 (v2.23.6) */
/*! Widget: grouping - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison

View File

@ -1,4 +1,4 @@
/*! Widget: headerTitles - updated 3/5/2014 (v2.15.6) */
/*! Widget: headerTitles - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison

View File

@ -1,4 +1,4 @@
/*! Widget: lazyload - 10/25/2015 (v2.23.6) */
/*! Widget: lazyload (BETA) - 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison

View File

@ -1,4 +1,4 @@
/*! Widget: math - updated 7/28/2015 (v2.22.4) */
/*! Widget: math - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.16+ and jQuery 1.7+
* by Rob Garrison

View File

@ -1,4 +1,4 @@
/*! Widget: output - updated 7/28/2015 (v2.22.4) */
/*! Widget: output - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.7+
* Modified from:

View File

@ -1,4 +1,4 @@
/*! Widget: Pager - updated 10/4/2015 (v2.23.5) */
/*! Widget: Pager - updated 10/31/2015 (v2.24.0) */
/* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/* Widget: print - updated 2/7/2015 (v2.19.0) */
/* Widget: print - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.2.6+
*/

View File

@ -1,4 +1,8 @@
/*! Widget: saveSort */
/*! Widget: saveSort - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
!function(a){"use strict";var b=a.tablesorter||{};
// this widget saves the last sort only if the
// saveSort widget option is true AND the

View File

@ -1,4 +1,4 @@
/*! Widget: scroller - updated 7/28/2015 (v2.22.4) */
/*! Widget: scroller - updated 10/31/2015 (v2.24.0) */
/*
Copyright (C) 2011 T. Connell & Associates, Inc.

View File

@ -1,4 +1,4 @@
/*! Widget: sort2Hash - updated 10/30/2015 (v2.23.6) */
/*! Widget: sort2Hash (BETA) - updated 10/31/2015 (v2.24.0) */
/* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! tablesorter tbody sorting widget (BETA) - 6/10/2015 (core v2.22.2)
/*! tablesorter tbody sorting widget (BETA) - 10/31/2015 (v2.24.0)
* Requires tablesorter v2.22.2+ and jQuery 1.4+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! widget: staticRow - updated 2/9/2015 (v2.19.1) */
/*! widget: staticRow - updated 10/31/2015 (v2.24.0) */
/*
* Version 1.2 mod by Rob Garrison (requires tablesorter v2.16+)
* Requires:

View File

@ -1,4 +1,4 @@
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) */
/*! Widget: stickyHeaders - updated 10/31/2015 (v2.24.0) */
/*
* Requires tablesorter v2.8+ and jQuery 1.4.3+
* by Rob Garrison

View File

@ -1,4 +1,4 @@
/* Widget: view (beta) - updated 10/26/2015 (v2.23.6) */
/* Widget: view (beta) - updated 10/31/2015 (v2.24.0) */
/* By Justin F. Hallett (https://github.com/TheSin-)
* Requires tablesorter v2.8+ and jQuery 1.7+
*/

View File

@ -76,7 +76,7 @@ $(function() {
<p class="tip">
<em>NOTE!</em>
<ul>
<li>In <span class="version">v2.23.6</span>, <code>sortAppend</code> can now be applied based on the primary column sort.</li>
<li>In <span class="version">v2.24.0</span>, <code>sortAppend</code> can now be applied based on the primary column sort.</li>
<li>Click to sort any column header to see the the first column sort is appended to the selected sort order.</li>
<li>This option is part of the original plugin</li>
</ul>

View File

@ -236,7 +236,7 @@
<p class="tip">
<em>NOTE!</em> The following are not part of the original plugin:
<ul>
<li>In <span class="version updated">2.23.6</span>, a page size select option with a value of "all" will display all rows - not recommended for ajax interactions!</li>
<li>In <span class="version updated">v2.24.0</span>, a page size select option with a value of "all" will display all rows - not recommended for ajax interactions!</li>
<li>In <span class="version updated">v2.23.0</span>, the following methods were changed due to issues with unique namespacing.
<ul>
<li><code>destroy.pager</code> is now <code>destroyPager</code></li>

View File

@ -175,7 +175,7 @@
<h3><a href="#">Notes</a></h3>
<div>
<ul>
<li>In <span class="version">v2.23.6</span>,
<li>In <span class="version">v2.24.0</span>,
<ul>
<li>This widget now supports extra rows and <code>colspan</code> cells in the header &amp; footer (not the body). The first demo has been updated to show this enhancement.</li>
<li>Added <code>columnSelector_mediaqueryHidden</code> option.</li>
@ -352,7 +352,7 @@
<tr id="column-selector-mediaquery-hidden">
<td><a href="#" class="permalink">columnSelector_mediaqueryHidden</a></td>
<td>When this option is set to <code>true</code> columns with a "columnSelector-false" class will be hidden while media queries ("auto" mode) are active (<span class="version">v2.23.6</span>).
<td>When this option is set to <code>true</code> columns with a "columnSelector-false" class will be hidden while media queries ("auto" mode) are active (<span class="version">v2.24.0</span>).
<div class="collapsible">
<br>
<ul>

View File

@ -160,7 +160,7 @@ tr.group-header.collapsed td i {
<ul>
<li>This widget will <strong>only work</strong> in tablesorter version 2.8+ and jQuery version 1.7+.</li>
<li>Please do not use this widget in very large tables (it might be really slow) <del>or when your table includes multiple tbodies</del>.<br><br></li>
<li>In <span class="version">v2.23.6</span>
<li>In <span class="version">v2.24.0</span>
<ul>
<li>This widget now works properly when used with a pager that has the `removeRows` option set to `true`.</li>
<li>Added <code>group_time24Hour</code> (set 12 vs 24 hour time) &amp; <code>group_dateInvalid</code> (group header text) options.</li>
@ -370,12 +370,12 @@ group_separator : /[/.]/</pre>
<td><a href="#" class="permalink">group_months</a></td>
<td>(see description)</td>
<td>
Name arrays included so that the language of the date groups can be modified easily (<span class="version updated">v2.23.6</span>; see "Globalization" section for details).
Name arrays included so that the language of the date groups can be modified easily (<span class="version updated">v2.24.0</span>; see "Globalization" section for details).
<div class="collapsible">
<p>Showing defaults (English):</p>
<pre class="prettyprint lang-js">// zero-based array
group_months: [ &quot;Jan&quot;, &quot;Feb&quot;, &quot;Mar&quot;, &quot;Apr&quot;, &quot;May&quot;, &quot;Jun&quot;, &quot;Jul&quot;, &quot;Aug&quot;, &quot;Sep&quot;, &quot;Oct&quot;, &quot;Nov&quot;, &quot;Dec&quot; ]</pre>
As of <span class="version">v2.23.6</span>, this option will also work with an object with a one-base "index":
As of <span class="version">v2.24.0</span>, this option will also work with an object with a one-base "index":
<pre class="prettyprint lang-js">// get Months list from CLDR (see Globalization section for more info)
var months = new Cldr( 'en' ).main([ "dates/calendars/gregorian/months", "format", "abbreviated" ]);
// one-based object (CLDR output example)
@ -392,12 +392,12 @@ group_months: months</pre>
<td><a href="#" class="permalink">group_week</a></td>
<td>(see description)</td>
<td>
Name arrays included so that the language of the date groups can be modified easily (<span class="version updated">v2.23.6</span>; see "Globalization" for details).
Name arrays included so that the language of the date groups can be modified easily (<span class="version updated">v2.24.0</span>; see "Globalization" for details).
<div class="collapsible">
<p>Showing defaults (English):</p>
<pre class="prettyprint lang-js">// zero-based index
group_week: [ &quot;Sunday&quot;, &quot;Monday&quot;, &quot;Tuesday&quot;, &quot;Wednesday&quot;, &quot;Thursday&quot;, &quot;Friday&quot;, &quot;Saturday&quot; ]</pre>
As of <span class="version">v2.23.6</span>, this option will also work with an object using a three-letter English weekday abbreviated names as a key:
As of <span class="version">v2.24.0</span>, this option will also work with an object using a three-letter English weekday abbreviated names as a key:
<pre class="prettyprint lang-js">// get weekdays list from CLDR (see Globalization section for more info)
var weekdays = new Cldr( 'en' ).main([ "dates/calendars/gregorian/days", "format", "abbreviated" ]);
// week-abbreviation based object
@ -413,11 +413,11 @@ group_week: weekdays</pre>
<td><a href="#" class="permalink">group_time</a></td>
<td>(see description)</td>
<td>
Name arrays included so that the language of the date groups can be modified easily (<span class="version updated">v2.23.6</span>; see "Globalization" for details).
Name arrays included so that the language of the date groups can be modified easily (<span class="version updated">v2.24.0</span>; see "Globalization" for details).
<div class="collapsible">
<p>Defaults (English):</p>
<pre class="prettyprint lang-js">group_time: [ &quot;AM&quot;, &quot;PM&quot; ]</pre>
As of <span class="version">v2.23.6</span>, this option will also work with an object in this format:
As of <span class="version">v2.24.0</span>, this option will also work with an object in this format:
<pre class="prettyprint lang-js">// get time of day list from CLDR (see Globalization section for more info)
var periods = cldr.main([ "dates/calendars/gregorian/dayPeriods", "format", "abbreviated" ]);
/* time of day: CLDR returns this object:
@ -443,20 +443,20 @@ group_time: periods</pre>
<tr id="group_time24hour">
<td><span class="permalink">group_time24Hour</span></td>
<td><code>false</code></td>
<td>Set to <code>true</code> to display time in 24 hour format (<span class="version">v2.23.6</span>).</td>
<td>Set to <code>true</code> to display time in 24 hour format (<span class="version">v2.24.0</span>).</td>
</tr>
<tr id="group_dateinvalid">
<td><span class="permalink">group_dateInvalid</span></td>
<td><code>'Invalid Date'</code></td>
<td>Message added to the Group header if a date is invalid (<span class="version">v2.23.6</span>).</td>
<td>Message added to the Group header if a date is invalid (<span class="version">v2.24.0</span>).</td>
</tr>
<tr id="group_datestring">
<td><a href="#" class="permalink">group_dateString</a></td>
<td>(see description)</td>
<td>
When the <code>&quot;group-date&quot;</code> class name is set on a column, this function is used to format the date string (<span class="version updated">v2.23.6</span>).
When the <code>&quot;group-date&quot;</code> class name is set on a column, this function is used to format the date string (<span class="version updated">v2.24.0</span>).
<div class="collapsible">
<p>This is the default function:</p>
<pre class="prettyprint lang-js">// you can just return date, date.toLocaleString(), date.toLocaleDateString() or d.toLocaleTimeString()
@ -464,7 +464,7 @@ group_dateString : function(date, config, $header ) {
return date.toLocaleString();
}</pre>
Other functions that can be used are <code>date</code> (alone), <code>date.toLocaleString()</code>, <code>date.toLocaleDateString()</code> or <code>d.toLocaleTimeString()</code>. See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#Conversion_getter">this reference</a> for more details.
<p>In <span class="version">v2.23.6</span>, this widget was updated to make it easier to use with <a href="https://github.com/jquery/globalize">jQuery Globalize</a>.</p>
<p>In <span class="version">v2.24.0</span>, this widget was updated to make it easier to use with <a href="https://github.com/jquery/globalize">jQuery Globalize</a>.</p>
<p>Additionally, two new parameters were added: <a href="index.html#config"><code>config</code></a> and <code>$header</code> (a jQuery object of the associated header cell).</p>
</div>
</td>
@ -676,7 +676,7 @@ $(function() {
<h4>Usage</h4>
Use Globalize with tablesorter &amp; the group widget inside of the <code>group_dateString</code> callback function.
<p>In <span class="version">v2.23.6</span></p>
<p>In <span class="version">v2.24.0</span></p>
<ul>
<li>The <code>group_months</code>, <code>group_week</code> &amp; <code>group_time</code> options were modified to work with CLDR data.</li>
<li><code>group_months</code> option will work with either a zero-based array of month names (basic use), or an object with a key using a one-based indexed with a month name value pair (the CLDR format; see the "months" comment in code example below).</li>

View File

@ -67,7 +67,7 @@
<h3><a href="#">Notes</a></h3>
<div>
<ul>
<li>This widget, added in <span class="version">v2.23.6</span>, integrates the popular <a class="external" href="https://github.com/tuupola/jquery_lazyload">jQuery lazyload plugin</a> &amp; <a class="external" href="https://github.com/ssorallen/jquery-scrollstop">jQuery scrollstop</a>.</li>
<li>This widget, added in <span class="version">v2.24.0</span>, integrates the popular <a class="external" href="https://github.com/tuupola/jquery_lazyload">jQuery lazyload plugin</a> &amp; <a class="external" href="https://github.com/ssorallen/jquery-scrollstop">jQuery scrollstop</a>.</li>
<li>This widget will only work if:
<ul>
<li>The image class, set by the <code>lazyload_imageClass</code> option is included.</li>

View File

@ -179,7 +179,7 @@
<h3><a href="#">Notes</a></h3>
<div>
<ul>
<li>In <span class="version">v2.23.6</span>
<li>In <span class="version">v2.24.0</span>
<ul>
<li>Added "below" type of data-gathering (see <a href="#attribute_settings">Attribute Settings</a> below for more info). See <a href="https://github.com/Mottie/tablesorter/pull/1027">pull #873</a>; thanks to <a href="https://github.com/LvLynx">LvLynx</a>!.</li>
<li>Added <code>math_none</code> option which allows customizing the text added to a cell when there are no matching math elements (.</li>
@ -265,7 +265,7 @@ math_ignore : [0,1]</pre>
<td><a href="#" class="permalink">math_none</a></td>
<td><code>'N/A'</code></td>
<td>
This option contains the text added to a math cell when no matching elements are found (<span class="version">v2.23.6</span>).
This option contains the text added to a math cell when no matching elements are found (<span class="version">v2.24.0</span>).
<div class="collapsible">
<p>To understand when this text is used, select a Region in the "Row & Column Sums" table below. The totals for hidden rows will display this text.</p>
<p>Use it as follows:</p>
@ -356,7 +356,7 @@ math_complete : function($cell, wo, result, value, arry){
<td><a href="#" class="permalink">math_priority</a></td>
<td><code>[ 'row', 'above', 'below', 'col' ]</code></td>
<td>
This is the order of calculations (<span class="version updated">v2.23.6</span>).
This is the order of calculations (<span class="version updated">v2.24.0</span>).
<div class="collapsible">
<ul>
<li>By default, the widget cycles through the calculated cells as follows:
@ -434,7 +434,7 @@ math_suffix : '{content}<span class="red">!</span>'
<ul>
<li><code>row</code> - gather the table cell values from the same row as the <code>data-math</code> attribute.</li>
<li><code>above</code> - gather the table cell values from the same column as the <code>data-math</code> attribute, but stop when the first table cell is reached, or when another cell with a data-attribute with an "above" type is reached; see the first table demo below to see why this is useful.</li>
<li><code>below</code> (<span class="version">v2.23.6</span>) - gather the table cell values from the same column as the <code>data-math</code> attribute, but stop when the last table cell is reached, or when another cell with a data-attribute with a "below" type is reached.</li>
<li><code>below</code> (<span class="version">v2.24.0</span>) - gather the table cell values from the same column as the <code>data-math</code> attribute, but stop when the last table cell is reached, or when another cell with a data-attribute with a "below" type is reached.</li>
<li><code>col</code> - gather the table cell values from the same column as the <code>data-math</code> attribute.</li>
<li><code>all</code> - gather all table cell values with a data-math attribute that start with "all".</li>
</ul>
@ -459,7 +459,7 @@ math_suffix : '{content}<span class="red">!</span>'
<li>For example:
<pre class="prettyprint lang-js">// adding a custom equation... named "product"
// access from data-math="row-product" (or "above-product", "below-product" or "col-product")
// config parameter added v2.23.6 to allow access to table settings
// config parameter added v2.24.0 to allow access to table settings
$.tablesorter.equations['product'] = function(arry, config) {
// multiple all array values together
var product = 1;

View File

@ -232,7 +232,7 @@
<p class="tip">
<em>NOTE!</em>
<ul>
<li>In <span class="version updated">2.23.6</span>, a page size select option with a value of "all" will display all rows - not recommended for ajax interactions!</li>
<li>In <span class="version updated">v2.24.0</span>, a page size select option with a value of "all" will display all rows - not recommended for ajax interactions!</li>
<li>In <span class="version">v2.19.0</span>, added <code>pageAndSize</code> method which allows setting both the pager page &amp; size.</li>
<li>In <span class="version">v2.17.6</span>, added <code>{startRow:input}</code> and <code>{page:input}</code> variables to the <code>output</code> option.<p></p></li>

View File

@ -109,7 +109,7 @@
<h3><a href="#">Notes</a></h3>
<div>
<ul>
<li>In <span class="version">2.23.6</span>, lots of changes were made:
<li>In <span class="version">v2.24.0</span>, lots of changes were made:
<ul>
<li>Removed <code class="alert">sort2Hash_useHeaderText</code> and <code class="alert">sort2Hash_processHeaderText</code> options.</li>
<li>Added <code>sort2Hash_headerTextAttr</code> option to replace the above two options.</li>
@ -338,7 +338,7 @@
<td><a href="#" class="permalink alert">sort2Hash_useHeaderText</a></td>
<td><code>false</code></td>
<td>
This option has been <span class="label alert">removed</span> in v2.23.6! It has been replaced by <a href="#"><code>sort2Hash_headerTextAttr</code></a>.
This option has been <span class="label alert">removed</span> in v2.24.0! It has been replaced by <a href="#"><code>sort2Hash_headerTextAttr</code></a>.
<div class="collapsible">
<p>If <code>true</code>, text from the header is used instead of a zero-based column index.</p>
Please be aware that if the column text contains spaces or special characters, they will be encoded in the URL. So, <code>"First &#xa3;$&#x20ac;&#x00a4;&#x00a5;&#xa2; Name"</code> will become <code>"First%20%C2%A3$%E2%82%AC%C2%A4%C2%A5%C2%A2%20Name"</code>. This would make the hash very difficult to read.
@ -351,7 +351,7 @@
<td><a href="#" class="permalink alert">sort2Hash_processHeaderText</a></td>
<td><code>null</code></td>
<td>
This option has been <span class="label alert">removed</span> in v2.23.6! It has been replaced by <a href="#"><code>sort2Hash_headerTextAttr</code></a>.
This option has been <span class="label alert">removed</span> in v2.24.0! It has been replaced by <a href="#"><code>sort2Hash_headerTextAttr</code></a>.
<div class="collapsible">
<p>If the <code>sort2Hash_useHeaderText</code> option is <code>true</code>, a function here will further process the header cell text.</p>
Use this function to perform any processing on the header cell text, as desired.

View File

@ -389,7 +389,7 @@ html[xmlns] .clearfix {
<h3 id="notes"><a href="#">Notes</a></h3>
<div>
<ul>
<li>This widget will <strong>only work</strong> in tablesorter version 2.23.6+ and jQuery version 1.7+.</li>
<li>This widget will <strong>only work</strong> in tablesorter version 2.24.0+ and jQuery version 1.7+.</li>
<li>When it's done building the view 'viewComplete' will be tiggered</li>
</ul>
</div>

View File

@ -328,7 +328,7 @@
<li>Modify a sort:
<ul>
<li><a href="example-option-sort-force.html">Force a default sorting order</a> (<a href="#sortforce"><code>sortForce</code></a>)</li>
<li><a href="example-option-sort-append.html">Append a sort to the selected sorting order</a> (<a href="#sortappend"><code>sortAppend</code></a>; <span class="version updated">v2.23.6</span>)</li>
<li><a href="example-option-sort-append.html">Append a sort to the selected sorting order</a> (<a href="#sortappend"><code>sortAppend</code></a>; <span class="version updated">v2.24.0</span>)</li>
<li><a href="example-option-sort-empty.html">Sorting empty cells</a> (<a href="#emptyto"><code>emptyTo</code></a>; v2.1.11)</li>
</ul>
</li>
@ -452,12 +452,12 @@
<li><a href="example-widget-align-character.html">Align Character Widget</a> (<span class="version">v2.15.8</span>; <span class="version updated">v2.19.0</span>).</li>
<li><a href="example-widget-build-table.html">Build table Widget</a> (<span class="version">v2.11</span>; <span class="version updated">v2.21.3</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-chart.html">Chart Widget</a> (<span class="version">v2.19.0</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-chart.html">Chart Widget</a> (<span class="version">v2.19.0</span>; <span class="version updated">v2.24.0</span>).</li>
<li><span class="results">&dagger;</span> <a href="example-widget-columns.html">Columns highlight widget</a> (v2.0.17)</li>
<li><a href="example-widget-column-selector.html">Column selector widget</a> (<span class="version">v2.15</span>; <span class="version updated">v2.23.6</span>).</li>
<li><a href="example-widget-editable.html">Content editable widget</a> (v2.9; <span class="version updated">v2.23.0</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-dragtable.html">Dragtable mod</a> - (jQuery UI widget for column reordering [<a href="http://stackoverflow.com/a/27770224/145346">ref</a>]; <span class="version">v2.19.0</span>).</li>
<li><span class="results">&dagger;</span> Filter widget (<span class="version updated">v2.23.4</span>):
<li><a href="example-widget-column-selector.html">Column selector widget</a> (<span class="version">v2.15</span>; <span class="version updated">v2.24.0</span>).</li>
<li><a href="example-widget-editable.html">Content editable widget</a> (v2.9; <span class="version updated">v2.24.0</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-dragtable.html">Dragtable mod</a> - (jQuery UI widget for column reordering [<a href="http://stackoverflow.com/a/27770224/145346">ref</a>]; <span class="version">v2.24.0</span>).</li>
<li><span class="results">&dagger;</span> Filter widget (<span class="version updated">v2.24.0</span>):
<ul>
<li><a href="example-widget-filter.html">basic</a> (v2.0.18; <span class="version updated">v2.23.5</span>)</li>
<li><a href="example-widget-filter-any-match.html">external option (match any column)</a> (<span class="version">v2.13.3</span>; <span class="version updated">v2.22.0</span>)</li>
@ -473,35 +473,35 @@
<li><span class="label label-info">Beta</span> <a href="example-widget-formatter.html">Formatter widget</a> (<span class="version">v2.19.1</span>).</li>
<li>Grouping rows widget:
<ul>
<li><a href="example-widget-grouping.html">basic</a> (v2.8; <span class="version updated">v2.23.6</span>).</li>
<li><a href="example-widget-grouping.html">basic</a> (v2.8; <span class="version updated">v2.24.0</span>).</li>
<li><a href="example-widget-grouping-filter-childrows.html">Grouping + filter + child rows</a> (<span class="updated version">v2.15.12</span>)</li>
</ul>
</li>
<li><a href="example-widget-header-titles.html">Header titles widget</a> (v2.15.6; <span class="version updated">2.15.7</span>)</li>
<li><a href="example-widget-lazyload.html">Lazyload widget</a> (<span class="version">v2.23.6</span>).</li>
<li><a href="example-widget-math.html">Math widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.23.6</span>).</li>
<li><a href="example-widget-header-titles.html">Header titles widget</a> (v2.15.6; <span class="version updated">v2.24.0</span>)</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-lazyload.html">Lazyload widget</a> (<span class="version">v2.24.0</span>).</li>
<li><a href="example-widget-math.html">Math widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.24.0</span>).</li>
<li>
<a href="example-widget-output.html">Output widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.22.2</span>)
<a href="example-widget-output.html">Output widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.24.0</span>)
<br><br>
</li>
<li>Pager plugin (<a href="example-pager.html">basic</a> &amp; <a href="example-pager-ajax.html">ajax</a> demos; <span class="version updated">v2.23.6</span>).</li>
<li>Pager plugin (<a href="example-pager.html">basic</a> &amp; <a href="example-pager-ajax.html">ajax</a> demos; <span class="version updated">v2.24.0</span>).</li>
<li>
Pager widget (<a href="example-widget-pager.html">basic</a> &amp; <a href="example-widget-pager-ajax.html">ajax</a> demos) (<span class="version">v2.12</span>; <span class="version updated">v2.23.6</span>).<br>
Pager widget (<a href="example-widget-pager.html">basic</a> &amp; <a href="example-widget-pager-ajax.html">ajax</a> demos) (<span class="version">v2.12</span>; <span class="version updated">v2.24.0</span>).<br>
<br>
</li>
<li><a href="example-widget-print.html">Print widget</a> (<span class="version">v2.16.4</span>; <span class="version updated">v2.19.0</span>)</li>
<li><a href="example-widget-print.html">Print widget</a> (<span class="version">v2.16.4</span>; <span class="version updated">v2.24.0</span>)</li>
<li><a href="example-widget-reflow.html">Reflow widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.19.0</span>)</li>
<li><a href="example-widgets.html">Repeat headers widget</a> (v2.0.5; <span class="version updated">v2.19.0</span>)</li>
<li><span class="results">&dagger;</span> <a href="example-widget-resizable.html">Resizable columns widget</a> (v2.0.23.1; <span class="version updated">v2.22.0</span>)</li>
<li><span class="results">&dagger;</span> <a href="example-widget-savesort.html">Save sort widget</a> (v2.0.27)</li>
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.22.0</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-sort-to-hash.html">Sort-to-hash widget</a> (<span class="version">v2.22.4</span>; <span class="version updated">v2.23.6</span>)</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-sort-tbodies.html">Sort tbodies widget</a> (<span class="version">v2.22.2</span>).</li>
<li><a href="example-widget-static-row.html">Static row widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.19.1</span>).</li>
<li><span class="results">&dagger;</span> <a href="example-widget-savesort.html">Save sort widget</a> (v2.0.27; <span class="version updated">v2.24.0</span>)</li>
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.24.0</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-sort-to-hash.html">Sort-to-hash widget</a> (<span class="version">v2.22.4</span>; <span class="version updated">v2.24.0</span>)</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-sort-tbodies.html">Sort tbodies widget</a> (<span class="version">v2.22.2</span>; <span class="version updated">v2.24.0</span>).</li>
<li><a href="example-widget-static-row.html">Static row widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.24.0</span>).</li>
<li><span class="results">&dagger;</span> <a href="example-widget-sticky-header.html">Sticky header widget</a> (v2.0.21.1; <span class="version updated">v2.21.3</span>)</li>
<li><span class="results">&dagger;</span> <a href="example-widget-sticky-header.html">Sticky header widget</a> (v2.0.21.1; <span class="version updated">v2.24.0</span>)</li>
<li><a href="example-widget-css-sticky-header.html">Sticky header (css3) widget</a> (<span class="version">v2.14.2</span>; <span class="version updated">v2.19.1</span>).</li>
<li><span class="results">&dagger;</span> UITheme widget (<span class="version updated">v2.17.4</span>; <span class="version updated">v2.19.0</span>):
<ul>
@ -509,7 +509,7 @@
<li><a href="example-widget-bootstrap-theme-v2.html">Bootstrap v2.x</a> (demo added <span class="version">v2.22.0</span>) &amp; <a href="example-widget-bootstrap-theme.html">Bootstrap v3.x</a> (v2.4)</li>
</ul>
</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-view.html">View Widget</a> (<span class="version">v2.23.6</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-view.html">View Widget</a> (<span class="version">v2.24.0</span>).</li>
<li><span class="results">&Dagger;</span> <a href="example-widget-zebra.html">Zebra stripe widget</a></li>
</ul>
@ -522,8 +522,8 @@
<li><a href="example-parsers-feet-inch-fraction.html">Feet-inch-fraction parser</a> (<span class="version">v2.8</span>).</li>
<li><a href="example-parsers-file-type.html">File type parser</a> (<span class="version">v2.13</span>).</li>
<li><a href="example-parsers-ignore-articles.html">Ignore leading articles parser</a> (Ignore &quot;A&quot;, &quot;An&quot; and &quot;The&quot; in titles) (<span class="version">v2.8</span>).</li>
<li><a href="example-widget-grouping.html">Input/select parsers</a> (used by Grouping rows widget) (<span class="version">v2.8</span>; <span class="version updated">v2.23.0</span>).</li>
<li><a href="example-parsers-globalize.html">jQuery Globalize</a> (number &amp; date parsers; <span class="version">v2.22.0</span>; <span class="version updated">v2.23.6</span>).</li>
<li><a href="example-widget-grouping.html">Input/select parsers</a> (used by Grouping rows widget) (<span class="version">v2.8</span>; <span class="version updated">v2.24.0</span>).</li>
<li><a href="example-parsers-globalize.html">jQuery Globalize</a> (number &amp; date parsers; <span class="version">v2.22.0</span>; <span class="version updated">v2.24.0</span>).</li>
<li><a href="example-parsers-metric.html">Metric parser</a> (<span class="version">v2.8</span>).</li>
<li><a href="example-parsers-named-numbers.html">Named Numbers parser</a> (<span class="version">v2.18.0</span>; <span class="version updated">v2.22.0</span>).</li>
<li><a href="example-parsers-ip-address.html">Network (IPv4, IPv6 and MAC address parser</a> (<span class="version">v2.12</span>; <span class="version updated">v2.22.0</span>).</li>
@ -1272,7 +1272,7 @@ From the example function above, you'll end up with something similar to this HT
<ol>
<li><a href="#sortforce"><code>sortForce</code></a> forces the user to have this/these column(s) sorted first (null by default).</li>
<li><a href="#sortlist"><code>SortList</code></a> is the initial sort order of the columns.</li>
<li><a href="#sortappend"><code>SortAppend</code></a> is the default sort that is added to the end of the users sort selection (null by default; <span class="version updated">v2.23.6</span>).</li>
<li><a href="#sortappend"><code>SortAppend</code></a> is the default sort that is added to the end of the users sort selection (null by default; <span class="version updated">v2.24.0</span>).</li>
</ol>
The value of these sort options is an array of arrays and can include one or more columns. The format is an array of instructions for per-column sorting and direction in the format: <code>[[columnIndex, sortDirection], ... ]</code> where <code>columnIndex</code> is a zero-based index for your columns left-to-right and <code>sortDirection</code> is 0 for Ascending and 1 for Descending. A valid argument that sorts ascending first by column 1 and then column 2 looks like: <code>[[0,0],[1,0]]</code>.
<pre class="prettyprint lang-js">$(function(){
@ -1318,7 +1318,7 @@ From the example function above, you'll end up with something similar to this HT
<td><a href="#" class="permalink">sortAppend</a></td>
<td>Array or Object</td>
<td>null</td>
<td>Use to add an additional forced sort that will be appended to the dynamic selections by the user (<span class="version updated">v2.23.6</span>).
<td>Use to add an additional forced sort that will be appended to the dynamic selections by the user (<span class="version updated">v2.24.0</span>).
<div class="collapsible">
<br>
For example, can be used to sort people alphabetically after some other user-selected sort that results in rows with the same value like dates or money due. It can help prevent data from appearing as though it has a random secondary sort.<br>
@ -1328,7 +1328,7 @@ From the example function above, you'll end up with something similar to this HT
});
});</pre>
The value contains an array of instructions for per-column sorting and direction in the format: <code>[[columnIndex, sortDirection], ... ]</code> where <code>columnIndex</code> is a zero-based index for your columns left-to-right and sortDirection is 0 for Ascending and 1 for Descending. A valid argument that sorts ascending first by column 1 and then column 2 looks like: <code>[[0,0],[1,0]]</code>. Please see <a href="#sortforce"><code>sortForce</code></a> for more details on other sort order options.
<p>In <span class="version updated">v2.23.6</span>, the <code>sortAppend</code> option now accepts an object containing column indexes.</p>
<p>In <span class="version updated">v2.24.0</span>, the <code>sortAppend</code> option now accepts an object containing column indexes.</p>
<p>Also, the sort direction can be set using "a" (ascending), "d" (descending), "n" (next), "s" (same) &amp; "o" (opposite):</p>
<pre class="prettyprint lang-js">$(function(){
$("table").tablesorter({
@ -5144,12 +5144,12 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in
<tbody>
<tr id="pagesize">
<td><a href="#" class="permalink">pageSize</a></td>
<td>Trigger the pager to change the page size (v2.7.4; <span class="version updated">2.23.6</span>).
<td>Trigger the pager to change the page size (v2.7.4; <span class="version updated">v2.24.0</span>).
<div class="collapsible">
<pre class="prettyprint lang-js">$(function(){
$('table').trigger('pageSize', 15);
});</pre>
In <span class="version updated">2.23.6</span>, this option will now accept "all" as a setting, and in turn display all rows.
In <span class="version updated">v2.24.0</span>, this option will now accept "all" as a setting, and in turn display all rows.
</div>
</td>
<td></td>
@ -5168,14 +5168,14 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in
</tr>
<tr id="pageandsize">
<td><a href="#" class="permalink">pageAndSize</a></td>
<td>Trigger the pager to change the current page &amp; size (<span class="version">v2.19.0</span>; ; <span class="version updated">2.23.6</span>).
<td>Trigger the pager to change the current page &amp; size (<span class="version">v2.19.0</span>; ; <span class="version updated">v2.24.0</span>).
<div class="collapsible">
<br>
If no value is passed, the pager will reset to page 1 with the original pager size setting; otherwise, pass a "one-based" index of the desired page and the pager size as an array
<pre class="prettyprint lang-js">$(function(){
$('table').trigger('pageAndSize', [ 2, 20 ]); // pass a one-based page index & page size
});</pre>
In <span class="version updated">2.23.6</span>, this option will now accept "all" as a page size setting, and in turn display all rows; the page number will be force to page one.
In <span class="version updated">v2.24.0</span>, this option will now accept "all" as a page size setting, and in turn display all rows; the page number will be force to page one.
</div>
</td>
<td></td>
@ -5375,7 +5375,7 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in
<tr id="tablesorterready">
<td><a href="#" class="permalink">tablesorter-ready</a></td>
<td>This event fires after tablesorter has complete applying all widgets and is ready for its next action (<span class="version">v2.23.6</span>).
<td>This event fires after tablesorter has complete applying all widgets and is ready for its next action (<span class="version">v2.24.0</span>).
<div class="collapsible">
This event occurs after an "updateComplete" and "pagerComplete" event. There may be some other table interaction if a widget includes any <code>setTimeout</code> functions.
<pre class="prettyprint lang-js">$(function(){
@ -6881,7 +6881,7 @@ textExtractionFunction = $.tablesorter.getColumnData( table, table.config.textEx
<tr id="function-getcolumntext">
<td><a href="#" class="permalink">getColumnText</a></td>
<td>This utility function returns the entire column text (raw and parsed) as well as other data (<span class="version">v2.21.4</span>; <span class="updated version">v2.23.6</span>).
<td>This utility function returns the entire column text (raw and parsed) as well as other data (<span class="version">v2.21.4</span>; <span class="updated version">v2.24.0</span>).
<div class="collapsible">
<br>
Use it as follows:
@ -6890,7 +6890,7 @@ textExtractionFunction = $.tablesorter.getColumnData( table, table.config.textEx
<li><code>table</code> - table DOM element (or jQuery object).</li>
<li><code>column</code> - zero-based column index or <code>'all'</code>.</li>
<li><code>callback</code> - callback function that is called while obtaining data for each cell within the specified column.</li>
<li><code>rowFilter</code> - can be a jQuery selector, function or element to allow targeting specific rows (e.g. <code>":visible"</code> or <code>":not(.child-row)"</code>); this parameter is used in a jQuery <code><a class="external" href="http://api.jquery.com/is/">.is()</a></code> function (<span class="version">v2.23.6</span>).</li>
<li><code>rowFilter</code> - can be a jQuery selector, function or element to allow targeting specific rows (e.g. <code>":visible"</code> or <code>":not(.child-row)"</code>); this parameter is used in a jQuery <code><a class="external" href="http://api.jquery.com/is/">.is()</a></code> function (<span class="version">v2.24.0</span>).</li>
</ul>
When using the callback, there is only one argument (object) passed to this function; it contains the following:
<ul>

View File

@ -1,4 +1,4 @@
/*! Dragtable Mod for TableSorter - 2/7/2015 (v2.19.0) *//*
/*! Dragtable Mod for TableSorter - updated 10/31/2015 (v2.24.0) *//*
* Requires
* tablesorter v2.8+
* jQuery 1.7+

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.23.5)*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.24.0)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -16,7 +16,7 @@
}
}(function($) {
/*! TableSorter (FORK) v2.23.5 *//*
/*! TableSorter (FORK) v2.24.0 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -39,7 +39,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.23.5',
version : '2.24.0',
parsers : [],
widgets : [],
@ -2960,7 +2960,7 @@
})(jQuery);
/*! Widget: filter - updated 10/4/2015 (v2.23.5) *//*
/*! Widget: filter - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -4682,7 +4682,7 @@
})( jQuery );
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
/*! Widget: stickyHeaders - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.4.3+
* by Rob Garrison
*/
@ -5366,7 +5366,10 @@
})( jQuery, window );
/*! Widget: saveSort */
/*! Widget: saveSort - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
;(function ($) {
'use strict';
var ts = $.tablesorter || {};

View File

@ -1,4 +1,4 @@
/*! TableSorter (FORK) v2.23.5 *//*
/*! TableSorter (FORK) v2.24.0 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -21,7 +21,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.23.5',
version : '2.24.0',
parsers : [],
widgets : [],

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.23.5)*/
/*! tablesorter (FORK) - updated 10-31-2015 (v2.24.0)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -372,7 +372,7 @@
})(jQuery);
/*! Widget: filter - updated 10/4/2015 (v2.23.5) *//*
/*! Widget: filter - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -2094,7 +2094,7 @@
})( jQuery );
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
/*! Widget: stickyHeaders - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.4.3+
* by Rob Garrison
*/
@ -2778,7 +2778,10 @@
})( jQuery, window );
/*! Widget: saveSort */
/*! Widget: saveSort - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
;(function ($) {
'use strict';
var ts = $.tablesorter || {};

View File

@ -1,4 +1,4 @@
/*! Parser: jQuery Globalize - updated 10/26/2015 (v2.23.6) */
/*! Parser: jQuery Globalize - updated 10/31/2015 (v2.24.0) */
/* Extract localized data using jQuery's Globalize parsers; set
Globalize.locale( 'xx' ) in the globalize settings */
/*jshint jquery:true, newcap: false */

View File

@ -1,4 +1,4 @@
/*! Parser: input & select - updated 8/17/2015 (v2.23.0) *//*
/*! Parser: input & select - updated 10/31/2015 (v2.24.0) *//*
* for jQuery 1.7+ & tablesorter 2.7.11+
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
*/

View File

@ -1,4 +1,4 @@
/* Widget: chart (beta) - updated 2/7/2015 (v2.19.0) *//*
/* Widget: chart (beta) - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
*/
/*jshint browser:true, jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/* Widget: columnSelector (responsive table widget) - updated 8/23/2015 (v2.23.2) *//*
/* Widget: columnSelector (responsive table widget) - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Justin Hallett & Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: editable - updated 8/17/2015 (v2.23.0) *//*
/*! Widget: editable - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: filter - updated 10/4/2015 (v2.23.5) *//*
/*! Widget: filter - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: grouping - updated 10/25/2015 (v2.23.6) *//*
/*! Widget: grouping - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: headerTitles - updated 3/5/2014 (v2.15.6) *//*
/*! Widget: headerTitles - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: lazyload - 10/25/2015 (v2.23.6) *//*
/*! Widget: lazyload (BETA) - 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: math - updated 7/28/2015 (v2.22.4) *//*
/*! Widget: math - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.16+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: output - updated 7/28/2015 (v2.22.4) *//*
/*! Widget: output - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* Modified from:
* HTML Table to CSV: http://www.kunalbabre.com/projects/table2CSV.php (License unknown?)

View File

@ -1,4 +1,4 @@
/*! Widget: Pager - updated 10/4/2015 (v2.23.5) */
/*! Widget: Pager - updated 10/31/2015 (v2.24.0) */
/* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/* Widget: print - updated 2/7/2015 (v2.19.0) *//*
/* Widget: print - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.2.6+
*/
/*jshint browser:true, jquery:true, unused:false */

View File

@ -1,4 +1,7 @@
/*! Widget: saveSort */
/*! Widget: saveSort - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.16+
* by Rob Garrison
*/
;(function ($) {
'use strict';
var ts = $.tablesorter || {};

View File

@ -1,4 +1,4 @@
/*! Widget: scroller - updated 7/28/2015 (v2.22.4) *//*
/*! Widget: scroller - updated 10/31/2015 (v2.24.0) *//*
Copyright (C) 2011 T. Connell & Associates, Inc.
Dual-licensed under the MIT and GPL licenses

View File

@ -1,4 +1,4 @@
/*! Widget: sort2Hash - updated 10/30/2015 (v2.23.6) */
/*! Widget: sort2Hash (BETA) - updated 10/31/2015 (v2.24.0) */
/* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! tablesorter tbody sorting widget (BETA) - 6/10/2015 (core v2.22.2)
/*! tablesorter tbody sorting widget (BETA) - 10/31/2015 (v2.24.0)
* Requires tablesorter v2.22.2+ and jQuery 1.4+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! widget: staticRow - updated 2/9/2015 (v2.19.1) *//*
/*! widget: staticRow - updated 10/31/2015 (v2.24.0) *//*
* Version 1.2 mod by Rob Garrison (requires tablesorter v2.16+)
* Requires:
* jQuery v1.4+

View File

@ -1,4 +1,4 @@
/*! Widget: stickyHeaders - updated 3/26/2015 (v2.21.3) *//*
/*! Widget: stickyHeaders - updated 10/31/2015 (v2.24.0) *//*
* Requires tablesorter v2.8+ and jQuery 1.4.3+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/* Widget: view (beta) - updated 10/26/2015 (v2.23.6) */
/* Widget: view (beta) - updated 10/31/2015 (v2.24.0) */
/* By Justin F. Hallett (https://github.com/TheSin-)
* Requires tablesorter v2.8+ and jQuery 1.7+
*/

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.23.5",
"version": "2.24.0",
"description": "tablesorter (FORK) 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.",
"author": {
"name": "Christian Bach",

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.23.5",
"version": "2.24.0",
"description": "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.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",