mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
version bump
This commit is contained in:
parent
2182b42157
commit
805be29302
138
README.md
138
README.md
@ -82,6 +82,60 @@ If you would like to contribute, please...
|
||||
|
||||
View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes).
|
||||
|
||||
#### <a name="v2.23.0">Version 2.23.0</a> (8/17/2015)
|
||||
|
||||
* Core:
|
||||
* Prevent `addRows` error. See [issue #979](https://github.com/Mottie/tablesorter/issues/979).
|
||||
* Make all updating methods public
|
||||
* Call a function instead of triggering an event on the table. Changes include:
|
||||
* `$.tablesorter.addRows` - called by `addRows` method.
|
||||
* `$.tablesorter.appendCache` - renamed from `appendToTable`; appends cache
|
||||
to DOM, called by `appendCache` method.
|
||||
* `$.tablesorter.isEmptyObject` - clone of `$.isEmptyObject` (jQuery v1.4).
|
||||
* `$.tablesorter.sortOn` - called by `sortOn` method.
|
||||
* `$.tablesorter.sortReset` - called by `sortReset` method.
|
||||
* `$.tablesorter.updateAll` - called by `updateAll` method.
|
||||
* `$.tablesorter.updateCache` - called by `updateCache` method.
|
||||
* `$.tablesorter.updateCell` - called by `updateCell` method.
|
||||
* `$.tablesorter.update` - called by `update` and `updateRows` method.
|
||||
* `addRows` now accepts a row string *if only one tbody exists* in the table.
|
||||
* The one tbody does not include information only tbodies (which have a class name from `cssInfoBlock`).
|
||||
* Previously, you had to make a jQuery object, append it to the table, then pass a reference containing the new rows.
|
||||
* This method doesn't work if a table has multiple tbodies, because the plugin doesn't know where you want to add the rows.
|
||||
* Also, updated the debug message for this method.
|
||||
* Use header cells instead of references to prevent IE8 error. Fixes [issue #987](https://github.com/Mottie/tablesorter/issues/987).
|
||||
* Fix above header cell targetting causing a javascript error in jQuery v1.2.6. Fixes [issue #995](https://github.com/Mottie/tablesorter/issues/995).
|
||||
* Add `updateHeaders` method
|
||||
* Triggered event & public api function.
|
||||
* `$.tablesorter.updateHeaders` - called by `updateHeaders` method.
|
||||
* Fixes [issue #989](https://github.com/Mottie/tablesorter/issues/989).
|
||||
* Docs:
|
||||
* Update jQuery UI theme switcher URLs.
|
||||
* ColumnSelector:
|
||||
* Modify `refreshColumnSelector` method so it also updates the contents of the container in case of changes to the header text, column priorities, etc.
|
||||
* See examples of these changes in the column selector [methods section](http://mottie.github.io/tablesorter/docs/example-widget-column-selector.html#methods).
|
||||
* Fixes [issue #985](https://github.com/Mottie/tablesorter/issues/985).
|
||||
* Editable:
|
||||
* Improve column option parsing. Fixes issues [#982](https://github.com/Mottie/tablesorter/issues/982) & [#979](https://github.com/Mottie/tablesorter/issues/979).
|
||||
* Filter:
|
||||
* Fix js error caused when limiting search columns - external "any" filter targeting specific columns; see [Stackoverflow](http://stackoverflow.com/q/32052986/145346).
|
||||
* Pager:
|
||||
* Widget only: No more javascript error in widget ajax error message.
|
||||
* Addon only: replace use of `$.isEmptyObject` which was not available in jQuery v1.2.6.
|
||||
* Change enable, disable & destroy trigger methods.
|
||||
* Previously, these methods had to include a `.pager` namespace: `enable.pager`, `disable.pager` & `destroy.pager`.
|
||||
* These methods stopped working when unique pager namespaces were added.
|
||||
* New trigger methods are named as follows: `enablePager`, `disablePager` & `destroyPager`.
|
||||
* Fixes [issue #980](https://github.com/Mottie/tablesorter/issues/980).
|
||||
* Unbind pager controls on destroy. Fixes [issue #981](https://github.com/Mottie/tablesorter/issues/981).
|
||||
* Add `ajaxError` callback function. Fixes [issue #992](https://github.com/Mottie/tablesorter/issues/992).
|
||||
* Parsers:
|
||||
* parser-input-select: fix javascript error when no rows returned.
|
||||
* Misc & Testing
|
||||
* Miscellaneous cleanup of testing code.
|
||||
* Add empty `ignore` entry to bower.json. Fixes [issue #991](https://github.com/Mottie/tablesorter/issues/991).
|
||||
* Fix license in package.json to match the new spdx license expression syntax.
|
||||
|
||||
#### <a name="v2.22.5">Version 2.22.5</a> (7/28/2015)
|
||||
|
||||
* Overall:
|
||||
@ -133,87 +187,3 @@ View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes
|
||||
* Add `isValueInArray` tests.
|
||||
* Add `isProcessing` tests.
|
||||
* Extras - dropping support for [quicksearch](https://github.com/riklomas/quicksearch) plugin.
|
||||
|
||||
#### <a name="v2.22.3">Version 2.22.3</a> (6/30/2015)
|
||||
|
||||
* Scroller: fix javascript error `scroller_$fixedColumns` is undefined.
|
||||
|
||||
#### <a name="v2.22.2">Version 2.22.2</a> (6/30/2015)
|
||||
|
||||
* Core
|
||||
* Only use `preventDefault` in specific jQuery versions (v1.3.2 & older). Fixes [issue #911](https://github.com/Mottie/tablesorter/issues/911).
|
||||
* The `"updateCache"` method now accepts a `tbody` object.
|
||||
* Make `getParsedText` a public function.
|
||||
* Allow empty string in textExtraction data-attribute. Fixes [issue #954](https://github.com/Mottie/tablesorter/issues/954).
|
||||
* Docs
|
||||
* Update trigger sort method documentation.
|
||||
* Update information about `cssIgnoreRow`. See [issue #911](https://github.com/Mottie/tablesorter/issues/911).
|
||||
* Add requirement to include `.filter { display: none }` in custom themes.
|
||||
* Improve Bootstrap example in column selector docs. See [pull #935](https://github.com/Mottie/tablesorter/pull/935), thanks [@Herst](https://github.com/Herst)!
|
||||
* Clean up & corrections:
|
||||
* Code examples in math & editing demos.
|
||||
* Corrected comments in "Skip the parsing of column content" demo.
|
||||
* Fix HTML validation issues.
|
||||
* Add contributing.md link to [JSCS formatting file](https://gist.github.com/Herst/39263a478046a48f1860) by [@Herst](https://github.com/Herst).
|
||||
* Update to Bootstrap v3.3.5.
|
||||
* Parsers
|
||||
* Checkbox: add checkbox parser class name option (`config.checkboxClass`).
|
||||
* Metric: Support metric base unit case insensitivity.
|
||||
* Editable
|
||||
* Allow <kbd>Shift</kbd>+<kbd>Enter</kbd> to create a new line (even with `editable_enterToAccept` set as `true`).
|
||||
* Update cache without requiring a hover over the `thead`; cache order now properly maintained on touch devices.
|
||||
* Filter
|
||||
* Target last used filter properly. See [issue #920](https://github.com/Mottie/tablesorter/issues/920).
|
||||
* `filter_selectSource` now ignores parsers, if none are set (empty or ajax tables). See [issue #934](https://github.com/Mottie/tablesorter/issues/934).
|
||||
* Add support for nesting of "AND" & "OR" searches. Fixes issues [#891](https://github.com/Mottie/tablesorter/issues/891) & [#918](https://github.com/Mottie/tablesorter/issues/918).
|
||||
* Filter row remains visible after focused when `filter_hideFilters` is set.
|
||||
* Remove trailing comma in [pull #948](https://github.com/Mottie/tablesorter/pull/948), thanks [@Herst](https://github.com/Herst)!
|
||||
* Output
|
||||
* Allow empty string data-attributes. See [issue #923](https://github.com/Mottie/tablesorter/issues/923).
|
||||
* `output_saveRows` now accepts jQuery filter selectors. See [issue #923](https://github.com/Mottie/tablesorter/issues/923).
|
||||
* Fix `hiddenColumns` option causing an empty output. Fixes [issue #923](https://github.com/Mottie/tablesorter/issues/923).
|
||||
* Prevent javascript error when no row data is passed. See [issue #923](https://github.com/Mottie/tablesorter/issues/923).
|
||||
* Remove `tfoot` clone, instead concat data to the end.
|
||||
* Fix `colspan`s and hidden columns.
|
||||
* Stop `outputTable` method propagation. Fixes [issue #944](https://github.com/Mottie/tablesorter/issues/944).
|
||||
* Pager
|
||||
* Make `hasWidget` think the pager addon is a widget.
|
||||
* Prevent adding a row if ajax returned JSON `totalrows` is zero. See [Stackoverflow](http://stackoverflow.com/q/30875583/145346).
|
||||
* RepeatHeaders
|
||||
* use `selectorRemove` option setting.
|
||||
* Resizable
|
||||
* Replace window resize trigger. See [issue #912](https://github.com/Mottie/tablesorter/issues/912).
|
||||
* Resizing now works with overflow wrapped tables. Fixes [issue #953](https://github.com/Mottie/tablesorter/issues/953).
|
||||
* Scroller
|
||||
* Fix added stylesheet error using "," instead of ";".
|
||||
* Remove `colgroup` & hidden elements in fixed columns.
|
||||
* Fix slow fixed column scrolling in Firefox. See [issue #135](https://github.com/Mottie/tablesorter/issues/135).
|
||||
* Multiple `tbody` fix. See issues [#906](https://github.com/Mottie/tablesorter/issues/906) & [#913](https://github.com/Mottie/tablesorter/issues/913).
|
||||
* Limit horizontal scrollbar to scrolling section.
|
||||
* Removed `widthFixed` requirement.
|
||||
* Update RTL support.
|
||||
* Fix column alignment. Fixes [issue #913](https://github.com/Mottie/tablesorter/issues/913).
|
||||
* Fix filter return zero to few rows.
|
||||
* Reduce init lag & correct no fixed column tbody width. See [issue #906](https://github.com/Mottie/tablesorter/issues/906).
|
||||
* Fix mousewheel scrolling on fixed columns.
|
||||
* Cleanup & old IE fix.
|
||||
* Fix column alignment issues [#940](https://github.com/Mottie/tablesorter/issues/940), [#937](https://github.com/Mottie/tablesorter/issues/937), [#931](https://github.com/Mottie/tablesorter/issues/931) & [#927](https://github.com/Mottie/tablesorter/issues/927).
|
||||
* Throttle IE scrolling. Partially fixes [issue #928](https://github.com/Mottie/tablesorter/issues/928).
|
||||
* Save scroll positioning. Fixes issues [#926](https://github.com/Mottie/tablesorter/issues/926) & [#932](https://github.com/Mottie/tablesorter/issues/932).
|
||||
* Integrate with:
|
||||
* pager. Fixes [issue #884](https://github.com/Mottie/tablesorter/issues/884).
|
||||
* columnSelector. Fixes [issue #905](https://github.com/Mottie/tablesorter/issues/905).
|
||||
* SortTbodies (beta)
|
||||
* Add new widget to allow the sorting of tbodies based on a primary row.
|
||||
* Fixes [pull #195](https://github.com/Mottie/tablesorter/pull/195) & [issue #833](https://github.com/Mottie/tablesorter/issues/833).
|
||||
* Documentation & demo page added: http://mottie.github.io/tablesorter/docs/example-widget-sort-tbodies.html
|
||||
* StickyHeaders
|
||||
* Replace window resize trigger. See [issue #912](https://github.com/Mottie/tablesorter/issues/912).
|
||||
* Fix javascript error. See [issue #920](https://github.com/Mottie/tablesorter/issues/920).
|
||||
* Zebra
|
||||
* Target non-info block tbodies in extra tables.
|
||||
* Grunt
|
||||
* Update grunt modules.
|
||||
* Remove moot "version" property from bower.json. See [pull #941](https://github.com/Mottie/tablesorter/pull/941), thanks [@kkirsche](https://github.com/kkirsche)!
|
||||
* Don't update bower.json in Gruntfile.js.
|
||||
* Check for old IE issue in [pull #949](https://github.com/Mottie/tablesorter/pull/949), thanks [@Herst](https://github.com/Herst)!
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*!
|
||||
* tablesorter (FORK) pager plugin
|
||||
* updated 7/28/2015 (v2.22.4)
|
||||
* updated 8/17/2015 (v2.23.0)
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
;(function($) {
|
||||
|
File diff suppressed because one or more lines are too long
8
dist/js/jquery.tablesorter.combined.js
vendored
8
dist/js/jquery.tablesorter.combined.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.22.5)*/
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.23.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.22.5 *//*
|
||||
/*! TableSorter (FORK) v2.23.0 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.22.5';
|
||||
ts.version = '2.23.0';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
@ -2672,7 +2672,7 @@
|
||||
|
||||
})(jQuery);
|
||||
|
||||
/*! Widget: filter - updated 7/28/2015 (v2.22.4) *//*
|
||||
/*! Widget: filter - updated 8/17/2015 (v2.23.0) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
4
dist/js/jquery.tablesorter.combined.min.js
vendored
4
dist/js/jquery.tablesorter.combined.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/jquery.tablesorter.js
vendored
4
dist/js/jquery.tablesorter.js
vendored
@ -8,7 +8,7 @@
|
||||
}
|
||||
}(function($) {
|
||||
|
||||
/*! TableSorter (FORK) v2.22.5 *//*
|
||||
/*! TableSorter (FORK) v2.23.0 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.22.5';
|
||||
ts.version = '2.23.0';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
|
2
dist/js/jquery.tablesorter.min.js
vendored
2
dist/js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/js/jquery.tablesorter.widgets.js
vendored
4
dist/js/jquery.tablesorter.widgets.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.22.5)*/
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.23.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 7/28/2015 (v2.22.4) *//*
|
||||
/*! Widget: filter - updated 8/17/2015 (v2.23.0) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/parsers/parser-input-select.min.js
vendored
2
dist/js/parsers/parser-input-select.min.js
vendored
@ -1,2 +1,2 @@
|
||||
/*! Parser: input & select - updated 7/28/2015 (v2.22.4) */
|
||||
/*! Parser: input & select - updated 8/17/2015 (v2.23.0) */
|
||||
!function(a){"use strict";var b=function(a,b,c){};a.tablesorter.addParser({id:"inputs",is:function(){return!1},format:function(b,c,d){var e=a(d).find("input");return e.length?e.val():b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"inputs-numeric",is:function(){return!1},format:function(b,c,d){var e=a(d).find("input"),f=e.length?e.val():b,g=a.tablesorter.formatFloat((f||"").replace(/[^\w,. \-()]/g,""),c);return b&&"number"==typeof g?g:b?a.trim(b&&c.config.ignoreCase?b.toLocaleLowerCase():b):b},parsed:!0,type:"numeric"}),a.tablesorter.addParser({id:"checkbox",is:function(){return!1},format:function(b,c,d,e){var f=a(d),g=f.closest("tr"),h=c.config.widgetOptions,i=c.config.checkboxClass||"checked",j=h.group_checkbox?h.group_checkbox:["checked","unchecked"],k=f.find('input[type="checkbox"]'),l=k.length?k[0].checked:"";return g.toggleClass(i+"-"+e,l),l?g.addClass(i):g.length&&!(g[0].className||"").match(i+"-")&&g.removeClass(i),k.length?j[l?0:1]:b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"select",is:function(){return!1},format:function(b,c,d){var e=a(d).find("select");return e.length?e.val():b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"select-text",is:function(){return!1},format:function(b,c,d){var e=a(d).find("select");return e.length?e.find("option:selected").text()||"":b},parsed:!0,type:"text"}),a.tablesorter.addParser({id:"textarea",is:function(){return!1},format:function(b,c,d){var e=a(d).find("textarea");return e.length?e.val():b},parsed:!0,type:"text"}),a(function(){a("table").on("tablesorter-initialized updateComplete",function(){var c=".parser-forms",d=function(b){b&&a(":focus").blur()};a(this).children("tbody").off(c).on("mouseleave"+c,function(a){d("TBODY"===a.target.nodeName)}).on("focus"+c,"select, input, textarea",function(){a(this).data("ts-original-value",this.value)}).on("blur"+c,"input, textarea",function(){this.value=a(this).data("ts-original-value")}).on("change keyup ".split(" ").join(c+" "),"select, input, textarea",function(c){if(27===c.which)return void(this.value=a(this).data("ts-original-value"));if("change"===c.type||"keyup"===c.type&&13===c.which&&("INPUT"===c.target.nodeName||"TEXTAREA"===c.target.nodeName&&c.altKey)){var d,e=a(c.target),f=e.closest("td"),g=f.closest("table"),h=f[0].cellIndex,i=g[0].config||!1,j=i&&i.$headerIndexed&&i.$headerIndexed[h]||[],k=e.val();if(j.length&&(j.hasClass("parser-false")||j.hasClass("sorter-false")&&j.hasClass("filter-false")))return;(k!==e.data("ts-original-value")||"checkbox"===c.target.type)&&(e.data("ts-original-value",k),g.trigger("updateCell",[f,d,function(){b(c,g,e)}]))}})})})}(jQuery);
|
2
dist/js/widgets/widget-editable.min.js
vendored
2
dist/js/widgets/widget-editable.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-filter.min.js
vendored
2
dist/js/widgets/widget-filter.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/widgets/widget-pager.min.js
vendored
2
dist/js/widgets/widget-pager.min.js
vendored
File diff suppressed because one or more lines are too long
@ -170,7 +170,7 @@
|
||||
<h3><a href="#">Notes</a></h3>
|
||||
<div>
|
||||
<ul>
|
||||
<li>In <span class="version updated">v2.22.6</span>, updated methods to allow refreshing the content of the container & enchanced ability to set both auto and columns modes.</li>
|
||||
<li>In <span class="version updated">v2.23.0</span>, updated methods to allow refreshing the content of the container & enchanced ability to set both auto and columns modes.</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>
|
||||
@ -395,7 +395,7 @@
|
||||
Refresh the breakpoints and selected columns using this method (<span class="version">v2.17.0</span>):
|
||||
<p></p>
|
||||
<pre class="prettyprint lang-js">$('table').trigger('refreshColumnSelector');</pre>
|
||||
<p>In <span class="version updated">v2.22.6</span>, this method was expanded to allow the refreshing of the selector content & set auto and column modes.</p>
|
||||
<p>In <span class="version updated">v2.23.0</span>, this method was expanded to allow the refreshing of the selector content & set auto and column modes.</p>
|
||||
<ul>
|
||||
<li>Here are a few examples:
|
||||
<table class="tablesorter-blue">
|
||||
|
@ -478,7 +478,7 @@
|
||||
|
||||
<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">†</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.22.6</span>).</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.0</span>).</li>
|
||||
<li><a href="example-widget-editable.html">Content editable widget</a> (v2.9; <span class="version updated">v2.22.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">†</span> Filter widget (<span class="version updated">v2.22.1</span>):
|
||||
@ -3832,12 +3832,12 @@ $('table').trigger('search', false);</pre></div>
|
||||
<td>Function</td>
|
||||
<td>null</td>
|
||||
<td>
|
||||
This callback allows you to customize the error message displayed in the <code>thead</code> (<span class="version">v2.22.6</span>).
|
||||
This callback allows you to customize the error message displayed in the <code>thead</code> (<span class="version">v2.23.0</span>).
|
||||
<div class="collapsible">
|
||||
<br>
|
||||
<span class="label label-info">Note</span> The pager widget equivalent option is within the <code>widgetOptions</code> and accessed via <code>widgetOptions.pager_ajaxError</code><br>
|
||||
<br>
|
||||
When there is an ajax error, the <a href="#function-showError"><code>$.tablesorter.showError</code></a> function is called. In <span class="version">v2.22.6</span>, that function now checks this callback to allow adding a custom error message.<br>
|
||||
When there is an ajax error, the <a href="#function-showError"><code>$.tablesorter.showError</code></a> function is called. In <span class="version">v2.23.0</span>, that function now checks this callback to allow adding a custom error message.<br>
|
||||
<br>
|
||||
Use it as follows:
|
||||
<pre class="prettyprint lang-js">$(function(){
|
||||
@ -6957,10 +6957,10 @@ $.tablesorter.isDigit( "(2,345.67)" );</pre>
|
||||
|
||||
<tr id="function-showError">
|
||||
<td><a href="#" class="permalink">showError</a></td>
|
||||
<td>This function allows adding/removing a row to the thead, to display any errors (<span class="version">v2.15</span>; <span class="version updated">v2.22.6</span>).
|
||||
<td>This function allows adding/removing a row to the thead, to display any errors (<span class="version">v2.15</span>; <span class="version updated">v2.23.0</span>).
|
||||
<div class="collapsible">
|
||||
<p>This function is ONLY included within the <code>widget-pager.js</code> and <code>jquery.tablesorter.pager.js</code> files; in version 3+, I plan to add it as a selectable option in a build.</p>
|
||||
<p>In <span class="version updated">v2.22.6</span>, this function will accept <code>xhr</code> and <code>exception</code> parameters provided by ajax error messages. To maintain backward compatibility, if <code>xhr</code> is a string, it will be treated as previous <code>message</code> parameter and displayed in the error row without modification.</p>
|
||||
<p>In <span class="version updated">v2.23.0</span>, this function will accept <code>xhr</code> and <code>exception</code> parameters provided by ajax error messages. To maintain backward compatibility, if <code>xhr</code> is a string, it will be treated as previous <code>message</code> parameter and displayed in the error row without modification.</p>
|
||||
Use it as follows:
|
||||
<pre class="prettyprint lang-js">$.tablesorter.showError( table, xhr, exception );</pre>
|
||||
<ul>
|
||||
@ -6975,7 +6975,7 @@ $.tablesorter.isDigit( "(2,345.67)" );</pre>
|
||||
<li>HTML row string - <code>'<tr><td colspan="' + table.config.columns + '">yeah, instead of showing your data... I am taking a nap</td></tr>'</code> (the <a href="#variable-columns"><code>table.config.columns</code> variable</a> contains the number of table columns; use as needed)</li>
|
||||
<li>undefined - completely leave out a message parameter <code>$.tablesorter.showError( table );</code> to remove all error rows from the table thead.</li>
|
||||
</ol>
|
||||
As of <span class="version updated">v2.22.6</span>,
|
||||
As of <span class="version updated">v2.23.0</span>,
|
||||
<ul>
|
||||
<li><span class="label label-warning">*WARNING*</span> the <code>table</code> parameter no longer accepts multiple tables.</li>
|
||||
<li>If the <code>xhr</code> parameter is not a string, then the pager <a href="#pager-ajaxerror"><code>ajaxError</code></a> callback is called to allow modification of the displayed message.</li>
|
||||
|
@ -4,7 +4,7 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀▀██
|
||||
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
||||
*/
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.22.5)*/
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.23.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.22.5 *//*
|
||||
/*! TableSorter (FORK) v2.23.0 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -44,7 +44,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.22.5';
|
||||
ts.version = '2.23.0';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
@ -2678,7 +2678,7 @@
|
||||
|
||||
})(jQuery);
|
||||
|
||||
/*! Widget: filter - updated 7/28/2015 (v2.22.4) *//*
|
||||
/*! Widget: filter - updated 8/17/2015 (v2.23.0) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! TableSorter (FORK) v2.22.5 *//*
|
||||
/*! TableSorter (FORK) v2.23.0 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = '2.22.5';
|
||||
ts.version = '2.23.0';
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
|
@ -4,7 +4,7 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀▀██
|
||||
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
||||
*/
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.22.5)*/
|
||||
/*! tablesorter (FORK) - updated 08-17-2015 (v2.23.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 7/28/2015 (v2.22.4) *//*
|
||||
/*! Widget: filter - updated 8/17/2015 (v2.23.0) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Parser: input & select - updated 7/28/2015 (v2.22.4) *//*
|
||||
/*! Parser: input & select - updated 8/17/2015 (v2.23.0) *//*
|
||||
* for jQuery 1.7+ & tablesorter 2.7.11+
|
||||
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Widget: columnSelector (responsive table widget) - updated 3/5/2015 (v2.21.0) *//*
|
||||
/* Widget: columnSelector (responsive table widget) - updated 8/17/2015 (v2.23.0) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Justin Hallett & Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: editable - updated 5/17/2015 (v2.22.0) *//*
|
||||
/*! Widget: editable - updated 8/17/2015 (v2.23.0) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: filter - updated 7/28/2015 (v2.22.4) *//*
|
||||
/*! Widget: filter - updated 8/17/2015 (v2.23.0) *//*
|
||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! Widget: Pager - updated 7/28/2015 (v2.22.4) */
|
||||
/*! Widget: Pager - updated 8/17/2015 (v2.23.0) */
|
||||
/* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.22.5",
|
||||
"version": "2.23.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",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.22.5",
|
||||
"version": "2.23.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",
|
||||
|
@ -681,7 +681,7 @@ jQuery(function($){
|
||||
'testc', 4, 'testb', 5, 'testa', 6, '', 0 ], 'updateAll - tbody' );
|
||||
}]);
|
||||
|
||||
// updateHeader v2.22.6
|
||||
// updateHeader v2.23.0
|
||||
$table1
|
||||
.find('th:eq(1)').html('x-num').end()
|
||||
.trigger('updateHeaders', function(){
|
||||
|
Loading…
Reference in New Issue
Block a user