version bump

This commit is contained in:
Mottie 2015-02-07 00:46:44 -06:00
parent f6b33cc367
commit 9b32f0c5f6
36 changed files with 238 additions and 131 deletions

122
README.md
View File

@ -65,6 +65,117 @@ tablesorter can successfully parse and sort many types of data including linked
View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes).
#### <a name="v2.19.0">Version 2.19.0</a> (2/7/2015)
* Core
* Add AMD/browserify support; See [pull #786](https://github.com/Mottie/tablesorter/pull/786), thanks to [mwiencek](https://github.com/mwiencek)!
* Resort variable can now contain a new sort. See [issue #782](https://github.com/Mottie/tablesorter/issues/782).
* Prevent resort when `serverSideSorting` is `true`. Fixes [issue #764](https://github.com/Mottie/tablesorter/issues/764).
* Add `resort` option. It is used as the fallback value when no resort parameter is included with the "updateAll", "update", "addRows" and "updateCell" methods.
* Add `removeWidget` function which calls the widget `remove` function &amp; removes the named widget from the `config.widget` option.
* A `refreshing` parameter was added to the widget remove function; when `true` it indicates that a `refreshWidgets` method was triggered and that the widget will only be temporarily removed.
* Make fixColumnWidth a public function (`$.tablesorter.fixColumnWidth`). Calling it will refresh set column widths dynamically. See [issue #680](https://github.com/Mottie/tablesorter/issues/680).
* The default `textExtraction` function has been optimized - `node.innerText` was completely removed as it is significantly slower in IE.
* Modified the "updateCell" method to not reapply widgets if the resort parameter is `false`; this may resolve issue with widgets causing elements to lose focus.
* Updated the `refreshWidgets` to use the `removeWidget` function. Once the widgets have been refreshed a `"refreshComplete"` event will be triggered.
* Updated `applyWidget` function to allow passing a callback function.
* Prevent adding multiple icons on refresh.
* Trim header text added to aria label.
* The `updateAll` method no longer restores headers since it is only refreshing.
* Fix parser check while building cache which can cause unresolving parsers in case the first tbody is empty and remaining tbodies have less rows than a number of tbody. See [pull #814](https://github.com/Mottie/tablesorter/pull/814). Thanks [prijutme4ty](https://github.com/prijutme4ty)!
* Docs
* Specify pager's `pageSet` method requires a one-based index value.
* Miscellaneous corrections & fixes. Thanks [prijutme4ty](https://github.com/prijutme4ty)!
* Remove `uitheme` widget option (it was removed in v2.14.0, but not properly documented). Pertinent information on how to modify the uitheme widget class names was moved to the core `theme` documentation.
* Add a new pager variables section which contains some useful variables within the pager object (`table.config.pager`).
* Update "jQuery data" demo to show the difference between setting a data-attribute and jQuery data directly.
* Add api documentation for using the `getColumnData` function.
* Parsers
* Add countdown parser (hh:mm:ss) - demo included with the [duration parser](http://mottie.github.io/tablesorter/docs/example-parsers-duration.html).
* Update input-select parser to use the `resort` option.
* Widgets (general)
* Build widget & storage extension: Pass `"null"` to `$.parseJSON` as a fallback. Fixes [issue #586](https://github.com/Mottie/tablesorter/issues/586).
* Update `remove` widget function for columnSelector, cssStickyHeaders, math, pager, repeatHeaders, saveSort & stickyHeaders.
* Widgets removed from beta: alignChar, columnSelector, math, output, print, reflow & staticRow.
* AlignChar:
* Don't add align character when no content is right of it. Prevents adding a hanging decimal, e.g. `3000.`.
* Chart widget (New; beta):
* Generic chart widget used to basically extract data from the table and output in multiple formats.
* Current chart libraries supported: Google charts, Highcharts & FusionCharts.
* Some additional processing may be required to add extra variables (graph colors, labels, etc).
* A [demo is available here](http://mottie.github.io/tablesorter/docs/example-widget-chart.html).
* An example of this widget is also available [here](http://codepen.io/TheSin/pen/GgEeEj).
* Thanks to [TheSin-](https://github.com/TheSin-) for creating this widget!
* ColumnSelector:
* Fix column index issue, again.
* The `refreshColumnSelector` method has been updated to accept a parameter ([get more details](http://mottie.github.io/tablesorter/docs/example-widget-column-selector.html#methods)):
* If an array of zero-based column indexes is passed by this method, "auto" mode will be disabled &amp; only columns within the array will be shown - critical or disabled columns will always be shown.
* If a non-array is passed by this method, the "auto" mode will be enabled.
* Fixes [issue #798](https://github.com/Mottie/tablesorter/issues/798).
* A change in "auto" checkbox now triggers a "columnUpdate" event.
* Dragtable (New; beta)
* The [dragtable jQuery UI widget](http://akottr.github.io/dragtable/) adds column reordering to a table.
* This isn't a tablesorter widget, but a modification made to a jQuery UI widget to better integrate with tablesorter - [demo](http://mottie.github.io/tablesorter/docs/example-dragtable.html).
* A modified version of dragtable has been included in the "extras" folder; this is a jQuery UI widget, not a tablesorter widget!
```js
$(function () {
$('table')
.dragtable({
dragHandle: '.table-handle',
excludeFooter: true
})
.tablesorter({
theme: 'blue',
selectorSort: '.sort',
widgets: ['zebra', 'filter']
});
});
```
* This modified version, so far, allows column reordering to work with the filter &amp; resizable widgets.
* Additional work will be required to get this jQuery UI widget to work with the scroller, columnSelector &amp stickyHeaders widgets.
* Fixes issue [#781](https://github.com/Mottie/tablesorter/issues/781), and portions of issue [#215](https://github.com/Mottie/tablesorter/issues/215) and [#186](https://github.com/Mottie/tablesorter/issues/186).
* Editable
* Update to add a `editable_columnsArray` which is created from the `editable_columns` option. When `editable_columns` contains a string (e.g. `0-3`), this option will contain an array of zero-based column indexes.
* The dragtable mod widget can then use this option to rearrange and maintain editable columns properly.
* Filter
* Hide filter row using the `filtered` class name (`table.config.widgetOptions.filter_filteredRow`).
* Select source, and unparsed filter text now priorities data from the `textAttribute`. Fixes issues with Formatter widget - see [issue #812](https://github.com/Mottie/tablesorter/issues/812).
* Update select2 filterFormatter code to properly escape regexp characters. Fixes [issue #796](https://github.com/Mottie/tablesorter/issues/796).
* Normalize `table` parameter for public functions.
* Formatter (New; beta)
* This new widget allows you to apply formatting to the columns ([demo](http://mottie.github.io/tablesorter/docs/example-widget-formatter.html)).
* Fixes [issue #812](https://github.com/Mottie/tablesorter/issues/812).
* Output
* Fix trim spaces for header cells.
* Pager
* `pageReset` now used while filtering. See [issue #778](https://github.com/Mottie/tablesorter/issues/778).
* Get most up-to-date filter before setting `pageReset`. Fixes [issue #783](https://github.com/Mottie/tablesorter/issues/783).
* `filteredRows` now properly calculated when first `tbody` is set with a `cssInfoBlock` class name`.
* Page size resets to original page setting instead of always 10.
* Add `pageAndSize` method to set both the page &amp; size.
* Add `pagerUpdate` method to force a pager update; even if no ajax parameters have changed. Fixes [issue #801](https://github.com/Mottie/tablesorter/issues/801).
* Add `cachedIndex` variable which is useful if you need to find the currently visible rows within the pager in the internal cache (`table.config.cache`). See the [documentation](http://mottie.github.io/tablesorter/docs/#variable-pager-cache-index) for an example.
* Update goto selector independently of other elements. Fixes [issue #811](https://github.com/Mottie/tablesorter/issues/811).
* Modified to apply widgets &amp; fire "pagerComplete" after the cache is built; this specifically applies to ajax tables.
* Print
* Ignore columnSelector "auto" setting when `columnSelector_mediaquery` option is disabled (`false`). Fixes [issue #808](https://github.com/Mottie/tablesorter/issues/808).
* Reflow
* Trim stored header text.
* Scroller
* Resizing &amp; browser zooming should now show proper widths. Fixes issues [#680](https://github.com/Mottie/tablesorter/issues/680) &amp; [#634](https://github.com/Mottie/tablesorter/issues/634).
* UITheme
* Now updates properly when dynamically changing the `table.config.theme` option.
* During an update, add inner wrapper to specific columns that are missing it.
* Add separate sort class names to both the header &amp; icon element; breaks old demos, but falls in-line with the addition of core css icon class settings in v2.18.3.
* Themes
* Add filter row background color; it appears that Chrome uses the `<tr>` background color when the `hideme` class is added to the row.
* Updated Bootstrap to 3.3.2.
* Testing
* Update QUnit.
* Remove jsHint checks.
#### <a name="v2.18.4">Version 2.18.4</a> (12/22/2014)
* Docs
@ -99,14 +210,3 @@ View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes
* Pager widget option comment corrections.
* Themes: update all themes to hide all elements in the filter row when the `filter_hideFilters` option is `true`
* CssStickyHeaders widget: tables with a caption now work properly in Firefox.
#### <a name="v2.18.2">Version 2.18.2</a> (11/3/2014)
* Filter widget
* Fixed initialization intermittently stalling.
* Pager addon & widget
* Fixed pager addon javascript error.
* Fixed pager widget not firing off "pagerComplete" in non-ajax tables.
* Fixed `savePages` being overwritten on initialization.
* Fixed pager widget updating the table content in non-ajax tables.

View File

@ -1,6 +1,6 @@
/*!
* tablesorter (FORK) pager plugin
* updated 12/22/2014 (v2.18.4)
* updated 2/7/2015 (v2.19.0)
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "tablesorter",
"version": "2.18.4",
"version": "2.19.0",
"dependencies": {
"jquery": ">=1.2.6"
},

View File

@ -220,7 +220,7 @@
<p class="tip">
<em>NOTE!</em> The following are not part of the original plugin:
<ul>
<li>In <span class="version">v2.18.5</span>, added <code>pageAndSize</code> method which allows setting both the pager page &amp; size.</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.</li>
<li>This pager plugin can be applied to the original tablesorter, but there is one exception - setting the <code>removeRows</code> option to false will break the sort.</li>
<li>There have been lots of changes made in version 2.1, please check out the <a href="https://github.com/Mottie/tablesorter/wiki/Changes">change log</a>.</li>

View File

@ -90,7 +90,7 @@ td:nth-child(3) .ts-align-right i {
<h3><a href="#">Notes</a></h3>
<div>
<ul>
<li>In <span class="version">v2.18.5</span>, if there is nothing to the right of the set align character, then the align character will not be added; this prevents hanging decimals like <code>3000.</code>.<p></p></li>
<li>In <span class="version">v2.19.0</span>, if there is nothing to the right of the set align character, then the align character will not be added; this prevents hanging decimals like <code>3000.</code>.<p></p></li>
<li>This widget will <strong>only work</strong> in tablesorter version 2.8+ and jQuery version 1.7+.</li>
<li>Make sure to include the CSS shown below to maintain the alignment.</li>
<li><span class="label warning">*NOTE*</span> if the table cell becomes too narrow, the alignment <strong>will not</strong> be maintained &amp; some content may overflow into the next/previous cell (the widget css does include <code>overflow:hidden</code> on the wrapper, so some content will be hidden instead of overflowing).</li>

View File

@ -174,7 +174,7 @@
<h3><a href="#">Notes</a></h3>
<div>
<ul>
<li>In <span class="version updated">v2.18.5</span>, the <code>refreshColumnSelector</code> method has been updated to allow passing a parameter. Pass an array of zero-based column indexes of columns to show, or any non-array to enable auto mode (if available).</li>
<li>In <span class="version updated">v2.19.0</span>, the <code>refreshColumnSelector</code> method has been updated to allow passing a parameter. Pass an array of zero-based column indexes of columns to show, or any non-array to enable auto mode (if available).</li>
<li>In <span class="version">v2.18.4</span>, added <code>columnSelector_cssChecked</code> option which contains the class name added to checked inputs. This helps fix an issue in Chrome that rears it's ugly head when trying to use <code>input:checked</code> to change a Font Awesome icon. See <a href="http://jsfiddle.net/2tu38gez">this demo</a> by TheSin which uses this option to change the checkbox style.</li>
<li>
In <span class="version">v2.17.0</span>, a method to refresh the column selector was added.<br>
@ -400,7 +400,7 @@
<p></p>
<pre class="prettyprint lang-js">$('table').trigger('refreshColumnSelector');</pre>
<br>
In <span class="version">v2.18.5</span>, this method will now accept a parameter.
In <span class="version">v2.19.0</span>, this method will now accept a parameter.
<p></p>
<ul>
<li>

View File

@ -90,7 +90,7 @@
<h3><a href="#">Notes</a></h3>
<div>
<ul>
<li>Updated in <span class="version updated">v2.18.5</span> to properly escape regexp characters. See <a href="https://github.com/Mottie/tablesorter/issues/796">issue #796</a> for details.</li>
<li>Updated in <span class="version updated">v2.19.0</span> to properly escape regexp characters. See <a href="https://github.com/Mottie/tablesorter/issues/796">issue #796</a> for details.</li>
<li>Updated in <span class="version updated">v2.16.3</span> to allow adding an initial value to the select2 plugin.</li>
<li>This is a demo of the select2 filter formatter code.</li>
<li>It requires jQuery 1.7.2+, tablesorter <span class="version">2.16</span>+, the filter widget 2.16+ and <a href="http://ivaynberg.github.io/select2/">Select2</a> v3.4.6+ (not tested on older select2 versions)</li>

View File

@ -226,7 +226,7 @@
<p class="tip">
<em>NOTE!</em>
<ul>
<li>In <span class="version">v2.18.5</span>, added <code>pageAndSize</code> method which allows setting both the pager page &amp; size.</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>
<li>This pager WIDGET <em>can not</em> be applied to the original tablesorter.</li>

View File

@ -53,7 +53,7 @@
scroller_height : 300,
scroller_upAfterSort: true,
scroller_jumpToHeader: true,
// In tablesorter v2.18.5 the scroll bar width is auto-detected
// In tablesorter v2.19.0 the scroll bar width is auto-detected
// add a value here to override the auto-detected setting
scroller_barWidth : null
// scroll_idPrefix was removed in v2.18.0
@ -174,10 +174,10 @@ $(function() {
<tr id="scroller-bar-width">
<td><a href="#" class="permalink">scroller_barWidth</a></td>
<td>null</td>
<td>Set the width of the scroll bar in pixels (<span class="version">v2.18.5</span>)
<td>Set the width of the scroll bar in pixels (<span class="version">v2.19.0</span>)
<div class="collapsible">
<br>
As of <span class="version">v2.18.5</span>, this option's default was changed to <code>null</code> because internal code was added to detect the scroll bar width which changes dramatically depending on the browser window zoom level.<br>
As of <span class="version">v2.19.0</span>, this option's default was changed to <code>null</code> because internal code was added to detect the scroll bar width which changes dramatically depending on the browser window zoom level.<br>
<br>
If you are using a custom scroll bar plugin, this option will still accept a scroll bar width value which overrides the scroll bar width auto-detection.
</div>

View File

@ -107,7 +107,7 @@
<p class="tip">
<em>NOTE!</em>
<ul>
<li>In <span class="version">v2.18.5</span>, this widget allows dynamic changing of themes; including switching from jQuery UI or Bootstrap to any other theme. To change a theme, do the following:
<li>In <span class="version">v2.19.0</span>, this widget allows dynamic changing of themes; including switching from jQuery UI or Bootstrap to any other theme. To change a theme, do the following:
<pre class="prettyprint lang-js">var $table = $('table');
$table[0].config.theme = 'grey';
$table.trigger('applyWidgets');</pre>

View File

@ -139,7 +139,7 @@
</li>
<li>The <code>remove</code> block (added v2.4):
<ul>
<li>In <span class="version">v2.18.5</span> the <code>refreshing</code> parameter was added:
<li>In <span class="version">v2.19.0</span> the <code>refreshing</code> parameter was added:
<ul>
<li>It is a parameter used to indicate that the <a href="index.html#refreshwidgets"><code>refreshWidgets</code></a> method was triggered.</li>
<li>When widgets are refreshed, the <code>remove</code> method is called, then the widget <code>init</code> function is immediately called to reapply the widget.</li>

View File

@ -467,15 +467,15 @@
</h4>
<ul>
<li><a href="example-widget-align-character.html">Align Character Widget</a> (<span class="version">v2.15.8</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.16</span>).</li>
<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.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.18.5</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="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.18.5</span>).</li>
<li><a href="example-widget-editable.html">Content Editable widget</a> (v2.9; <span class="version updated">v2.18.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.18.5</span>).</li>
<li><span class="results">&dagger;</span> Filter Widget (<span class="version updated">v2.17.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.19.0</span>).</li>
<li><a href="example-widget-editable.html">Content Editable widget</a> (v2.9; <span class="version updated">v2.19.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.19.0</span>):
<ul>
<li><a href="example-widget-filter.html">basic</a> (v2.0.18; <span class="version updated">v2.18.1</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.18.0</span>)</li>
@ -483,10 +483,10 @@
<li><a href="example-widget-filter-custom.html">custom</a> (v2.3.6; <span class="version updated">v2.10.1</span>)</li>
<li><a href="example-widget-filter-custom-search.html">custom searches</a> (<span class="version">v2.17.5</span>; <span class="version updated">v2.17.8</span>)</li>
<li>formatter: <a href="example-widget-filter-formatter-1.html">jQuery UI widgets</a> and <a href="example-widget-filter-formatter-2.html">HTML5 Elements</a> (v2.7.7; <span class="version updated">v2.17.5</span>).</li>
<li>formatter: <a href="example-widget-filter-formatter-select2.html">select2</a> (<span class="version">v2.16.0</span>; <span class="version updated">v2.18.5</span>)</li>
<li>formatter: <a href="example-widget-filter-formatter-select2.html">select2</a> (<span class="version">v2.16.0</span>; <span class="version updated">v2.19.0</span>)</li>
</ul>
</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-formatter.html">Formatter widget</a> (<span class="version">v2.18.5</span>).</li>
<li><span class="label label-info">Beta</span> <a href="example-widget-formatter.html">Formatter widget</a> (<span class="version">v2.19.0</span>).</li>
<li>Grouping rows widget:
<ul>
<li><a href="example-widget-grouping.html">basic</a> (v2.8; <span class="version updated">v2.18.0</span>).</li>
@ -494,28 +494,28 @@
</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-math.html">Math widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.0</span>).</li>
<li><a href="example-widget-math.html">Math widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.19.0</span>).</li>
<li>
<a href="example-widget-output.html">Output widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.5</span>)
<a href="example-widget-output.html">Output widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.19.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.18.5</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.19.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.18.5</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.19.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.18.5</span>)</li>
<li><a href="example-widget-reflow.html">Reflow widget</a> (<span class="version">v2.16</span>)</li>
<li><a href="example-widgets.html">Repeat Headers widget</a> (v2.0.5; <span class="version updated">v2.18.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.18.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.19.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.19.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.18.5</span>).</li>
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.19.0</span>).</li>
<li><a href="example-widget-static-row.html">StaticRow widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.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.18.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.18.3</span>).</li>
<li><span class="results">&dagger;</span> UITheme widget (<span class="version updated">v2.17.4</span>; <span class="version updated">v2.18.5</span>):
<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.0</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>
<li><a href="example-widget-ui-theme.html">jQuery UI theme</a> (v2.0.9)</li>
<li><a href="example-widget-bootstrap-theme.html">Bootstrap</a> (v2.4)</li>
@ -526,12 +526,12 @@
<h4 id="custom-parsers">Custom Parsers</h4>
<ul>
<li><a href="example-parsers-duration.html">Countdown parser</a> (<span class="version">v2.18.5</span>).</li>
<li><a href="example-parsers-duration.html">Countdown parser</a> (<span class="version">v2.19.0</span>).</li>
<li><a href="example-parsers-dates.html">Date parsers</a> (<span class="version">v2.8</span>; <span class="version updated">v2.18.0</span>; includes weekday, month, two-digit year &amp; <a href="http://sugarjs.com/dates">sugar.js</a> date parsers).</li>
<li><a href="example-parsers-duration.html">Duration parser</a> (<span class="version">v2.17.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.18.5</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.19.0</span>).</li>
<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-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>).</li>
@ -1223,12 +1223,12 @@ From the example function above, you'll end up with something similar to this HT
<td><a href="#" class="permalink">resort</a></td>
<td>Boolean</td>
<td>true</td>
<td>When this option is <code>true</code> any applied sort on the table will be reapplied after an update method (<span class="version">v2.18.5</span>).
<td>When this option is <code>true</code> any applied sort on the table will be reapplied after an update method (<span class="version">v2.19.0</span>).
<div class="collapsible">
<br>
Specifically, this option applies to the "updateAll", "update", "addRows" and "updateCell" methods and is checked after the method has completed updating the internal cache.<br>
<br>
If <code>false</code>, the widgets will still be refreshed for all but the "updateCell" method - this "updateCell" behavior was added in v2.18.5.<br>
If <code>false</code>, the widgets will still be refreshed for all but the "updateCell" method - this "updateCell" behavior was added in v2.19.0.<br>
<br>
<span class="label label-info">Note</span> when triggering one of the above methods, and passing a defined <code>resort</code> parameter, it will override this setting.<br>
<br>
@ -1580,12 +1580,12 @@ $.extend($.tablesorter.themes.jui, {
<td><a href="#" class="permalink">textExtraction</a></td>
<td>Multiple*</td>
<td>&quot;basic&quot;</td>
<td>Defines which method is used to extract data from a table cell for sorting (<span class="version updated">v2.18.5</span>)
<td>Defines which method is used to extract data from a table cell for sorting (<span class="version updated">v2.19.0</span>)
<div class="collapsible">
<br>
* <span class="label label-info">Note</span> This option accepts multiple types (String, Object or Function); see below for further details.
<p></p>
In <span class="version updated">v2.18.5</span>, the code was further optimized. When set to <code>"basic"</code> (the default), the textExtraction code will check for data-attributes, otherwise, any other string value setting will skip the data-attribute value check; because of this change, there is a noticable lessening of initialization time in Internet Explorer.
In <span class="version updated">v2.19.0</span>, the code was further optimized. When set to <code>"basic"</code> (the default), the textExtraction code will check for data-attributes, otherwise, any other string value setting will skip the data-attribute value check; because of this change, there is a noticable lessening of initialization time in Internet Explorer.
<p></p>
In <span class="version updated">v2.17.0</span>, the <code>textExtraction</code> column can also be referenced by using a jQuery selector (e.g. class name, id or column index) that points to a table <em>header</em> cell.<br>
<pre class="prettyprint lang-js">textExtraction : {
@ -1972,13 +1972,15 @@ $(function(){
<tbody>
<tr id="widgetcolumns">
<td><a href="#" class="permalink alert">widgetColumns</a></td>
<td>Object with Array</td>
<td>{ css: [ "primary", "secondary", "tertiary" ] }</td>
<td></td>
<td></td>
<td>
This option is being <span class="label label-danger">deprecated</span>!
It has been replaced by <a href="#widget-columns"><code>widgetOptions.columns</code></a>; but is still available for backwards compatibility.
<div class="collapsible">
<br>
Default value: <code>{ css: [ "primary", "secondary", "tertiary" ] }</code> (Object with Array)
<p></p>
When the column styling widget is initialized, it automatically applied the default class names of <code>&quot;primary&quot;</code> for the primary sort, <code>&quot;secondary&quot;</code> for the next sort, <code>&quot;tertiary&quot;</code> for the next sort, and so on (add more as needed)... (v2.0.17).
Use the <a href="#widgetcolumns"><code>widgetColumns</code></a> option to change the css class name as follows:
<pre class="prettyprint lang-js">$(function(){
@ -1993,13 +1995,15 @@ $(function(){
<tr id="widgetuitheme">
<td><a href="#" class="permalink alert">widgetUitheme</a></td>
<td>Object with Array</td>
<td>{ css: [ "ui-icon-arrowthick-2-n-s", "ui-icon-arrowthick-1-s", "ui-icon-arrowthick-1-n" ] }</td>
<td></td>
<td></td>
<td>
This option is being <span class="label label-danger">deprecated</span>!
It has been replaced by <a href="#widget-uitheme"><code>widgetOptions.uitheme</code></a>; but is still available for backwards compatibility.
<div class="collapsible">
<br>
Default value: <code>{ css: [ "ui-icon-arrowthick-2-n-s", "ui-icon-arrowthick-1-s", "ui-icon-arrowthick-1-n" ] }</code> (Object with Array)
<p></p>
Used when the ui theme styling widget is initialized. It automatically applies the default class names of <code>&quot;ui-icon-arrowthick-2-n-s&quot;</code> for the unsorted column, <code>&quot;ui-icon-arrowthick-1-s&quot;</code> for the descending sort and <code>&quot;ui-icon-arrowthick-1-n&quot;</code> for the ascending sort. (v2.0.9).
Find more jQuery UI class names by hovering over the Framework icons on this page: <a class="external" href="http://jqueryui.com/themeroller/">http://jqueryui.com/themeroller/</a><br>
<br>
@ -2022,13 +2026,15 @@ $(function(){
<tr id="widgetzebra">
<td><a href="#" class="permalink alert">widgetZebra</a></td>
<td>Object with Array</td>
<td>{ css: [ &quot;even&quot;, &quot;odd&quot; ] }</td>
<td></td>
<td></td>
<td>
This option is being <span class="label label-danger">deprecated</span>!
It has been replaced by <a href="#widget-zebra"><code>widgetOptions.zebra</code></a>; but is still available for backwards compatibility.
<div class="collapsible">
<br>
Default value: <code>{ css: [ &quot;even&quot;, &quot;odd&quot; ] }</code> (Object with Array)
<p></p>
When the zebra striping widget is initialized, it automatically applied the default class names of <code>&quot;even&quot;</code> and <code>&quot;odd&quot;</code>.
Use the <a href="#widgetzebra"><code>widgetZebra</code></a> option to change the css class name as follows:
<pre class="prettyprint lang-js">$(function(){
@ -4304,7 +4310,7 @@ $.extend($.tablesorter.themes.jui, {
<tr id="addrows">
<td><a href="#" class="permalink">addRows</a></td>
<td>Use this method to add table rows (v2.0.16; <span class="version updated">v2.18.5</span>).
<td>Use this method to add table rows (v2.0.16; <span class="version updated">v2.19.0</span>).
<div class="collapsible">
<br>
It does not work the same as &quot;update&quot; in that it only adds rows, it does not remove them.<br>
@ -4315,8 +4321,8 @@ $.extend($.tablesorter.themes.jui, {
'&lt;td&gt;$19.99&lt;/td&gt;&lt;td&gt;15%&lt;/td&gt;&lt;td&gt;Sep 25, 1987 12:00PM&lt;/td&gt;&lt;/tr&gt;',
$row = $(row),
// resort table using true to reapply the current sort; set to false to prevent resort
// if undefined, the resort value will be obtained from config.resort (added v2.18.5)
// As of v2.18.5, the resort variable can contain a new sortList to be applied
// if undefined, the resort value will be obtained from config.resort (added v2.19.0)
// As of v2.19.0, the resort variable can contain a new sortList to be applied
// A callback method was added in 2.3.9.
resort = true, // or [[0,0],[1,0]] etc
callback = function(table){
@ -4401,14 +4407,14 @@ $("table").trigger("sortReset", [callback]);</pre>
<tr id="update">
<td><a href="#" class="permalink">update</a> / <a href="#" class="permalink">updateRows</a></td>
<td>Update the <code>tbody</code>'s stored data (<code>update</code> &amp; <code>updateRows</code> do exactly the same thing; <span class="version updated">v2.18.5</span>)
<td>Update the <code>tbody</code>'s stored data (<code>update</code> &amp; <code>updateRows</code> do exactly the same thing; <span class="version updated">v2.19.0</span>)
<div class="collapsible"><br>
<pre class="prettyprint lang-js">// Add new content
$("table tbody").append(html);
// let the plugin know that we made a update
// the resort flag set to true will trigger an automatic resort using the current sort
// if set to false, no new sort will be applied; or set it to any sortList value (e.g. [[0,0]]; new v2.18.5)
// if set to false, no new sort will be applied; or set it to any sortList value (e.g. [[0,0]]; new v2.19.0)
// A callback method was added in 2.3.9.
var resort = true,
callback = function(table){
@ -4416,18 +4422,18 @@ var resort = true,
};
$("table").trigger("update", [resort, callback]);
// As of version 2.18.5, if the resort parameter is undefined, the setting from the config.resort will be used
// As of version 2.19.0, if the resort parameter is undefined, the setting from the config.resort will be used
// As of version 2.0.14, the table will automatically resort after the update (if the "resort" flag is true
// &amp; will use the current sort selection), so include the following if you want to specify a different sort
// set sorting column and direction, this will sort on the first and third column
var sorting = [[2,1],[0,0]];
// method to use prior to v2.18.5
// method to use prior to v2.19.0
// $("table")
// .trigger("update", [ false ])
// .trigger("sorton", [sorting]);
// After v2.18.5; do the following to apply a new sort after updating
// After v2.19.0; do the following to apply a new sort after updating
// if sorting is an empty array [], then the sort will be reset
$('table').trigger('update', [ sorting ]);</pre>
<span class="label label-info">NOTE</span> Don't confuse this method with the <a href="#sortreset"><code>sortReset</code> option</a>. <code>updateRows</code> was added to work around the issue of using jQuery with the Prototype library. Triggering an "update" would make Prototype clear the tbody; Please see <a href="https://github.com/Mottie/tablesorter/issues/217">issue #217</a> for more details.
@ -4438,7 +4444,7 @@ $('table').trigger('update', [ sorting ]);</pre>
<tr id="updateall">
<td><a href="#" class="permalink">updateAll</a></td>
<td>Update a column of cells (<code>thead</code> and <code>tbody</code>) (<span class="version">v2.8</span>; <span class="version updated">v2.18.5</span>).
<td>Update a column of cells (<code>thead</code> and <code>tbody</code>) (<span class="version">v2.8</span>; <span class="version updated">v2.19.0</span>).
<div class="collapsible">
<pre class="prettyprint lang-js">// Change thead & tbody column of cells
// remember, "eq()" is zero based & "nth-child()" is 1 based
@ -4450,8 +4456,8 @@ $("table tbody").find('td:nth-child(3)').html(function(i,h){
// reapply the current sort if resort = true
// do not reapply the current sort if resort = false
// if undefined, resort will be obtained from config.resort (added v2.18.5)
// as of v2.18.5, apply a new sort if resort = [[0,0]] (or whatever)
// if undefined, resort will be obtained from config.resort (added v2.19.0)
// as of v2.19.0, apply a new sort if resort = [[0,0]] (or whatever)
// or the sort is reset if resort = []
var resort = true,
// add a callback, as desired
@ -4501,7 +4507,7 @@ $("table")
<tr id="updatecell">
<td><a href="#" class="permalink">updateCell</a></td>
<td>Update a table cell in the tablesorter data (<span class="version updated">v2.18.5</span>).
<td>Update a table cell in the tablesorter data (<span class="version updated">v2.19.0</span>).
<div class="collapsible">
<pre class="prettyprint lang-js">$(function() {
$("table").tablesorter();
@ -4509,8 +4515,8 @@ $("table")
$("td.discount").click(function(){
// Do we want to reapply the current sort on the column?
// see updateRow for other resort settings as of v2.18.5
// if resort is undefined, the value from config.resort (added v2.18.5) will be used
// see updateRow for other resort settings as of v2.19.0
// if resort is undefined, the value from config.resort (added v2.19.0) will be used
var resort = false,
// Do something after the cell update in this callback function
callback = function(table){
@ -4525,16 +4531,16 @@ $("table")
// update the table, so the tablesorter plugin can update its value
// set resort flag to false to prevent automatic resort (since we're using a different sort below)
// prior to v2.18.5, leave the resort flag as undefined, or with any other value, to automatically resort the table
// new resort values can be set as of v2.18.5 - please see the "updateRow" documentation for more details
// prior to v2.19.0, leave the resort flag as undefined, or with any other value, to automatically resort the table
// new resort values can be set as of v2.19.0 - please see the "updateRow" documentation for more details
// $("table").trigger("updateCell", [this]); &lt; - resort is undefined so the table WILL resort
$("table").trigger("updateCell", [this, resort, callback]);
// As of version 2.0.14, the table will automatically resort (using the current sort selection)
// after the update, so include the following if you want to specify a different sort
// prior to v2.18.5, set sorting column and direction, this will sort on the first and third column
// after v2.18.5, add any new sort to the "resort" variable above
// prior to v2.19.0, set sorting column and direction, this will sort on the first and third column
// after v2.19.0, add any new sort to the "resort" variable above
var sorting = [[3,1]];
$("table").trigger("sorton", [sorting]);
@ -4596,7 +4602,7 @@ $("table").trigger("destroy", [false, callback]);</pre></div>
<tr id="refreshwidgets">
<td><a href="#" class="permalink">refreshWidgets</a></td>
<td>Refresh the currently applied widgets. Depending on the options, it will completely remove all widgets, then re-initialize the current widgets or just remove all non-current widgets (v2.4; <span class="verison updated">v2.18.5</span>).
<td>Refresh the currently applied widgets. Depending on the options, it will completely remove all widgets, then re-initialize the current widgets or just remove all non-current widgets (v2.4; <span class="verison updated">v2.19.0</span>).
<div class="collapsible"><br>
Trigger this method using either of the following methods (they are equivalent):
<pre class="prettyprint lang-js">// trigger a refresh widget event
@ -4705,7 +4711,7 @@ $('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.18.5</span>).
<td>Trigger the pager to change the current page &amp; size (<span class="version">v2.19.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
@ -4717,7 +4723,7 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in
</tr>
<tr id="pagerupdate">
<td><a href="#" class="permalink">pagerUpdate</a></td>
<td>Force the pager to update the table with the current settings (<span class="version">v2.18.5</span>).
<td>Force the pager to update the table with the current settings (<span class="version">v2.19.0</span>).
<div class="collapsible">
<br>
If there is a need, this method will force the (ajax and non-ajax) pager to update. Use it as follows:
@ -4903,7 +4909,7 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in
<tr id="refreshcomplete">
<td><a href="#" class="permalink">refreshComplete</a></td>
<td>This event fires after tablesorter has completed executing the <a href="#refreshwidgets">refreshWidget</a> method (<span class="version">v2.18.5</span>)
<td>This event fires after tablesorter has completed executing the <a href="#refreshwidgets">refreshWidget</a> method (<span class="version">v2.19.0</span>)
<div class="collapsible">
<br>
Use it as follows:
@ -5443,7 +5449,7 @@ $('.tablesorter')[0].config.cache[0].normalized[0];
<tr id="variable-extra-tables">
<td><a href="#" class="permalink">config.$extraTables</a></td>
<td>jQuery Object</td>
<td>Internal list of <strong>all</strong> extra (cloned) table elements (<span class="version">v2.18.5</span>)
<td>Internal list of <strong>all</strong> extra (cloned) table elements (<span class="version">v2.19.0</span>)
<div class="collapsible">
<br>
Some widgets need to duplicate parts of the original table to provide functionality (e.g. stickyHeaders, scroller). This saved variable will either not exist or contain a jQuery object pointing to the cloned table elements.<br>
@ -6177,10 +6183,10 @@ $.tablesorter.isValueInArray(2, sortList);</pre>
<tr id="function-addwidget">
<td><a href="#" class="permalink">addWidget</a></td>
<td>This function allows the adding of custom widget scripts to the tablesorter core (<span class="version updated">v2.18.5</span>).
<td>This function allows the adding of custom widget scripts to the tablesorter core (<span class="version updated">v2.19.0</span>).
<div class="collapsible">
<br>
In <span class="version updated">v2.18.5</span>, a <code>"refreshing"</code> parameter was added to the <code>remove</code> widget function to indicate that the widget will be refreshed so it will only be temporarily removed (see <a href="example-widgets.html">this demo</a> for more details).<br>
In <span class="version updated">v2.19.0</span>, a <code>"refreshing"</code> parameter was added to the <code>remove</code> widget function to indicate that the widget will be refreshed so it will only be temporarily removed (see <a href="example-widgets.html">this demo</a> for more details).<br>
<br>
Access it as follows:
<pre class="prettyprint lang-js">$.tablesorter.addWidget(myWidget);</pre>
@ -6215,14 +6221,14 @@ widget.format( table, table.config, table.config.widgetOptions );</pre>
<tr id="function-applywidget">
<td><a href="#" class="permalink">applyWidget</a></td>
<td>This function applys (refreshes) all currently selected widgets on a table (<span class="version updated">v2.16.0</span>; <span class="version updated">v2.18.5</span>).
<td>This function applys (refreshes) all currently selected widgets on a table (<span class="version updated">v2.16.0</span>; <span class="version updated">v2.19.0</span>).
<div class="collapsible"><br>
Use it as follows:
<pre class="prettyprint lang-js">$.tablesorter.applyWidget( table, init, callback );</pre>
<ul>
<li><code>table</code> - table DOM element (or jQuery object) of table.</li>
<li><code>init</code> - optional, boolean initialization flag.</li>
<li><code>callback</code> - optional, a function executed after all widgets have been applied; the only parameter is <code>table</code> (<span class="version">v2.18.5</span>).</li>
<li><code>callback</code> - optional, a function executed after all widgets have been applied; the only parameter is <code>table</code> (<span class="version">v2.19.0</span>).</li>
</ul>
The <code>init</code> flag is only set to <code>true</code> to extend the default option values from the widget options block. If the widget(s) have already been applied to the table, just leave this parameter undefined.<br>
<br>
@ -6233,10 +6239,10 @@ widget.format( table, table.config, table.config.widgetOptions );</pre>
<tr id="function-refreshwidgets">
<td><a href="#" class="permalink">refreshWidgets</a></td>
<td>This function removes, then reapplies all currently selected widgets on a table (v2.4; <span class="version updated">v2.18.5</span>).
<td>This function removes, then reapplies all currently selected widgets on a table (v2.4; <span class="version updated">v2.19.0</span>).
<div class="collapsible">
<br>
In <span class="version updated">v2.18.5</span>, this function was modified to internally use the <a href="#function-removewidget">removeWidget</a> function &amp; a <a href="#refreshcomplete"><code>"refreshComplete"</code></a> event is now triggered upon completion.<br>
In <span class="version updated">v2.19.0</span>, this function was modified to internally use the <a href="#function-removewidget">removeWidget</a> function &amp; a <a href="#refreshcomplete"><code>"refreshComplete"</code></a> event is now triggered upon completion.<br>
<br>
Use it as follows:
<pre class="prettyprint lang-js">$.tablesorter.refreshWidgets( table, doAll, dontapply );</pre>
@ -6255,7 +6261,7 @@ widget.format( table, table.config, table.config.widgetOptions );</pre>
<tr id="function-removewidget">
<td><a href="#" class="permalink">removeWidget</a></td>
<td>This function removes selected widgets (<span class="version">v2.18.5</span>).
<td>This function removes selected widgets (<span class="version">v2.19.0</span>).
<div class="collapsible"><br>
Use it as follows:
<pre class="prettyprint lang-js">$.tablesorter.removeWidget( table, names, refreshing );</pre>
@ -6264,7 +6270,7 @@ widget.format( table, table.config, table.config.widgetOptions );</pre>
<li><code>names</code> - string (space or comma separated widget names), an array of widget names, or if <code>true</code> all installed widgets are removed.</li>
<li><code>refreshing</code> - if <code>true</code>, the widget name will not be removed from the <a href="#widgets"><code>widgets</code></a> option; any other setting and the name will be removed.</li>
</ul>
This function is used by the <a href="#function-refreshwidgets">refreshWidgets</a> function (<span class="version">v2.18.5</span>).
This function is used by the <a href="#function-refreshwidgets">refreshWidgets</a> function (<span class="version">v2.19.0</span>).
</div>
</td>
</tr>

View File

@ -1,4 +1,4 @@
/*! Dragtable Mod for TableSorter - 1/14/2015 (v2.18.5) *//*
/*! Dragtable Mod for TableSorter - 2/7/2015 (v2.19.0) *//*
* Requires
* tablesorter v2.8+
* jQuery 1.7+
@ -562,7 +562,7 @@
this._create();
},
destroy: function() {
_this.originalTable.el.off('mousedown.dragtable mouseup.dragtable', _this.bindTo);
this.originalTable.el.off('mousedown.dragtable mouseup.dragtable', this.bindTo);
$.Widget.prototype.destroy.apply(this, arguments); // default destroy
// now do other stuff particular to this widget
}

View File

@ -1,5 +1,5 @@
/**!
* TableSorter (FORK) 2.18.4 - Client-side table sorting with ease!
* TableSorter (FORK) 2.19.0 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
* Copyright (c) 2007 Christian Bach
@ -32,7 +32,7 @@
var ts = this;
ts.version = "2.18.4";
ts.version = "2.19.0";
ts.parsers = [];
ts.widgets = [];

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! Filter widget select2 formatter function - updated 1/16/2015 (v2.18.5)
/*! Filter widget select2 formatter function - updated 2/7/2015 (v2.19.0)
* requires: jQuery 1.7.2+, tableSorter (FORK) 2.16+, filter widget 2.16+ and select2 v3.4.6+ plugin
*/
/*jshint browser:true, jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/*! tableSorter (FORK) 2.16+ widgets - updated 12/22/2014 (v2.18.4)
/*! tableSorter (FORK) 2.16+ widgets - updated 2/7/2015 (v2.19.0)
*
* Column Styles
* Column Filters
@ -187,7 +187,7 @@ ts.addWidget({
id: "uitheme",
priority: 10,
format: function(table, c, wo) {
var i, hdr, icon, time, hdrClass, iconClass, $header, $icon, $tfoot, $h, oldtheme, oldremove, oldIconRmv, hasOldTheme,
var i, hdr, icon, time, $header, $icon, $tfoot, $h, oldtheme, oldremove, oldIconRmv, hasOldTheme,
themesAll = ts.themes,
$table = c.$table.add( c.$extraTables ),
$headers = c.$headers.add( c.$extraHeaders ),

File diff suppressed because one or more lines are too long

View File

@ -37,7 +37,7 @@
});
/*! Countdown parser ( hh:mm:ss ) */
// http://stackoverflow.com/a/27023733/145346
/* Added 2/7/2015 (v2.19.0) - see http://stackoverflow.com/a/27023733/145346 */
$.tablesorter.addParser({
id: 'countdown',
is: function () {

View File

@ -1,5 +1,5 @@
/*! input & select parsers for jQuery 1.7+ & tablesorter 2.7.11+
* Updated 1/28/2015 (v2.18.5)
* Updated 2/7/2015 (v2.19.0)
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
*/
/*jshint browser: true, jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/*! tablesorter Align Character widget - updated 3/12/2014 (core v2.15.8)
/*! tablesorter Align Character widget - updated 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Build Table widget for tableSorter v2.16.0 (4/23/2014)
/*! Build Table widget for tableSorter v2.16.0; updated 2/7/2015 (v2.19.0)
* by Rob Garrison
*/
/*jshint browser:true, jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/* Column Selector/Responsive table widget for TableSorter - 1/20/2015 (v2.18.5)
/* Column Selector/Responsive table widget for TableSorter - 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Justin Hallett & Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! tablesorter CSS Sticky Headers widget - updated 11/7/2014 (v2.18.3)
/*! tablesorter CSS Sticky Headers widget - updated 2/7/2015 (v2.19.0)
* Requires a modern browser, tablesorter v2.8+
*/
/*jshint jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/*! tablesorter Editable Content widget - updated 10/26/2014 (v2.18.0)
/*! tablesorter Editable Content widget - updated 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! tablesorter Formatter widget - 2/4/2015 (v2.18.5)
/*! tablesorter Formatter widget - 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! tablesorter math widget - updated 5/28/2014 (v2.17.1)
/*! tablesorter math widget - updated 2/7/2015 (v2.19.0)
* Requires tablesorter v2.16+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/* Output widget for TableSorter 7/17/2014 (v2.17.5)
/* Output widget for TableSorter 2/7/2015 (v2.19.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 @@
/* Pager widget for TableSorter 12/22/2014 (v2.18.4) - requires jQuery 1.7+ */
/* Pager widget for TableSorter 2/7/2015 (v2.19.0) - requires jQuery 1.7+ */
/*jshint browser:true, jquery:true, unused:false */
;(function($){
"use strict";

View File

@ -1,4 +1,4 @@
/* Print widget for TableSorter 6/18/2014 (v2.17.2)
/* Print widget for TableSorter 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.2.6+
*/
/*jshint browser:true, jquery:true, unused:false */

View File

@ -1,4 +1,4 @@
/* table reflow widget for TableSorter 3/22/2014 (v2.16.0)
/* table reflow widget for TableSorter 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* Also, this widget requires the following default css (modify as desired)
@ -100,6 +100,7 @@ tablereflow = {
$hdr = c.$headers.filter('[data-column="' + i + '"]');
if ($hdr.length > 1) {
txt = [];
/*jshint loopfunc:true */
$hdr.each(function(){
$this = $(this);
if (!$this.hasClass(wo.reflow2_classIgnore)) {
@ -117,7 +118,7 @@ tablereflow = {
$tbody = ts.processTbody(table, $(this), true);
$tbody.children().each(function(j){
$this = $(this);
len = headers[j].length
len = headers[j].length;
i = len - 1;
while (i >= 0) {
$this.prepend(txt + (i === 0 && len > 1 ? ' ' + wo.reflow2_labelTop : '') + '">' + headers[j][i] + '</b>');

View File

@ -1,4 +1,4 @@
/*! tablesorter repeatHeaders widget - updated 10/26/2014 (v2.18.0)
/*! tablesorter repeatHeaders widget - updated 2/7/2015 (v2.19.0)
* Requires tablesorter v2.8+ and jQuery 1.7+
* Original by Christian Bach from the example-widgets.html demo
*/

View File

@ -10,7 +10,7 @@
Resizable scroller widget for the jQuery tablesorter plugin
Version 2.0 - modified by Rob Garrison 4/12/2013; updated 1/15/2015 (v2.18.5)
Version 2.0 - modified by Rob Garrison 4/12/2013; updated 2/7/2015 (v2.19.0)
Requires jQuery v1.7+
Requires the tablesorter plugin, v2.8+, available at http://mottie.github.com/tablesorter/docs/
@ -151,7 +151,7 @@ ts.addWidget({
$tbl.children('thead').show();
// only remove colgroup if it was added by the plugin
// the $.tablesorter.fixColumnWidth() function already does this (v2.18.5)
// the $.tablesorter.fixColumnWidth() function already does this (v2.19.0)
// but we need to get "accurate" resized measurements here - see issue #680
$tbl.children('colgroup.tablesorter-colgroup').remove();
$hdr.children('colgroup').remove();

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.18.4",
"version": "2.19.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",

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.18.4",
"version": "2.19.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",