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
5ce66aebfe
commit
c09945c60c
31
README.md
31
README.md
@ -60,6 +60,31 @@ tablesorter can successfully parse and sort many types of data including linked
|
||||
|
||||
View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Change).
|
||||
|
||||
#### <a name="v2.17.1">Version 2.17.1</a> (5/28/2014)
|
||||
|
||||
* Docs:
|
||||
* Add some missing examples & updated some version number comments for the last update
|
||||
* Reflow widget: Fix demo to use preset widths & css transitions instead of forcing users to manually resize the examples.
|
||||
* Output widget: add note about modifying the `.htaccess` file to enable downloading in both IE & Firefox.
|
||||
|
||||
* Core
|
||||
* Allow use of select & buttons within header cells. Previously only inputs were allowed. Fixes [issue #625](https://github.com/Mottie/tablesorter/issues/625).
|
||||
* Add `parser-false` setting to prevent extracting & parsing of content from set columns. Fixes [issue #629](https://github.com/Mottie/tablesorter/issues/629).
|
||||
|
||||
* Filter widget
|
||||
* Add a not-exact-match (`!=`) filter type (e.g. `!"Bruce"` or `!Bruce=` will show all rows that don't exactly match `Bruce`). See [issue #628](https://github.com/Mottie/tablesorter/issues/628).
|
||||
|
||||
* Math widget
|
||||
* Values are now obtained from data-attributes first, then the actual cell content. This will allow making calculations with higher precision values. Fixes [issue #624](https://github.com/Mottie/tablesorter/issues/624).
|
||||
|
||||
* Pager (addon & widget)
|
||||
* The `ajaxProcessing` function now includes the jqxhr parameter. Thanks [JuarezTurrini](https://github.com/JuarezTurrini)! See [pull #626](https://github.com/Mottie/tablesorter/pull/626)
|
||||
* Update the custom controls example to properly work with the pager widget. Fixes [issue #631](https://github.com/Mottie/tablesorter/issues/631).
|
||||
* Fix widgets sometimes not being applied after page change.
|
||||
|
||||
* Parser
|
||||
* input-select parser no longer binds to non-tablesorter tables. Fixes [issue #633](https://github.com/Mottie/tablesorter/issues/633).
|
||||
|
||||
#### <a name="v2.17.0">Version 2.17.0</a> (5/22/2014)
|
||||
|
||||
* Overall
|
||||
@ -276,9 +301,3 @@ View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Chan
|
||||
* Check for filters before trying to set focus. Fixes [issue #594](https://github.com/Mottie/tablesorter/issues/594).
|
||||
* Add `stickyHeaders_filteredToTop` option. Fixes [issue #570](https://github.com/Mottie/tablesorter/issues/570).
|
||||
* Input select parser: don't update columns with both sorter & filter disabled. See [issue #570](https://github.com/Mottie/tablesorter/issues/570).
|
||||
|
||||
#### <a name="v2.16.1">Version 2.16.1</a> (4/24/2014)
|
||||
|
||||
* Core:
|
||||
* Fixed an issue where ajax loaded data would cause a javascript error because of improper ignoring of data.
|
||||
* Ajax loaded data will now be parsed and cached - so stuff like the grouping widget will work properly.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*!
|
||||
* tablesorter pager plugin
|
||||
* updated 5/22/2014 (v2.17.0)
|
||||
* updated 5/28/2014 (v2.17.1)
|
||||
*/
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
;(function($) {
|
||||
|
4
addons/pager/jquery.tablesorter.pager.min.js
vendored
4
addons/pager/jquery.tablesorter.pager.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"version": "2.17.0",
|
||||
"version": "2.17.1",
|
||||
"dependencies": {
|
||||
"jquery": ">=1.2.6"
|
||||
},
|
||||
|
@ -2976,8 +2976,8 @@ $.extend($.tablesorter.themes.jui, {
|
||||
.tablesorter()
|
||||
.tablesorterPager({
|
||||
ajaxUrl: "http://mydatabase.com?page={page}&size={size}&{sortList:col}&{filterList:fcol}",
|
||||
ajaxProcessing: function(ajax){
|
||||
// do something with the ajax
|
||||
ajaxProcessing: function(data, table, xhr){
|
||||
// do something with the ajax data
|
||||
return [ formatted_data, total_rows ];
|
||||
}
|
||||
});
|
||||
@ -3023,8 +3023,8 @@ $.extend($.tablesorter.themes.jui, {
|
||||
.tablesorter()
|
||||
.tablesorterPager({
|
||||
ajaxUrl: "http://mydatabase.com?page={page}&size={size}&{sortList:col}&{filterList:fcol}",
|
||||
ajaxProcessing: function(ajax){
|
||||
// do something with the ajax
|
||||
ajaxProcessing: function(data, table, xhr){
|
||||
// do something with the ajax data
|
||||
return [ formatted_data, total_rows ];
|
||||
},
|
||||
// modify the url after all processing has been applied
|
||||
@ -3061,8 +3061,8 @@ $.extend($.tablesorter.themes.jui, {
|
||||
// see http://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings
|
||||
dataType: 'json'
|
||||
},
|
||||
ajaxProcessing: function(ajax){
|
||||
// do something with the ajax;
|
||||
ajaxProcessing: function(data, table, xhr){
|
||||
// do something with the ajax data;
|
||||
return [ total_rows ];
|
||||
}
|
||||
});
|
||||
@ -3130,7 +3130,7 @@ $.extend($.tablesorter.themes.jui, {
|
||||
.tablesorter()
|
||||
.tablesorterPager({
|
||||
ajaxUrl: "http://mydatabase.com?page={page}&size={size}",
|
||||
ajaxProcessing: function(data){
|
||||
ajaxProcessing: function(data, table, xhr){
|
||||
if (data && data.hasOwnProperty('rows')) {
|
||||
var r, row, c, d = data.rows,
|
||||
// total number of rows (required)
|
||||
@ -3158,7 +3158,7 @@ $.extend($.tablesorter.themes.jui, {
|
||||
}
|
||||
});
|
||||
});</pre>Or, in tablesorter <span class="version">v2.10</span>, return a jQuery object
|
||||
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table){
|
||||
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table, xhr){
|
||||
if (data && data.hasOwnProperty('rows')) {
|
||||
var r, row, c, d = data.rows,
|
||||
// total number of rows (required)
|
||||
@ -3186,7 +3186,7 @@ $.extend($.tablesorter.themes.jui, {
|
||||
return [ total, $(rows), headers ];
|
||||
}
|
||||
}</pre>Or, also in tablesorter <span class="version">v2.10</span>, just build the table yourself and return the total number of rows:
|
||||
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table){
|
||||
<pre class="prettyprint lang-js">ajaxProcessing: function(data, table, xhr){
|
||||
if (data && data.hasOwnProperty('rows')) {
|
||||
var r, row, c, d = data.rows,
|
||||
// total number of rows (required)
|
||||
@ -3224,7 +3224,7 @@ So, lets say the data sent by the server looks like this:
|
||||
"tasty" : "It's delicious!"
|
||||
}</pre>
|
||||
This ajaxProcessing function must return an object with "total", "headers" and "rows" properties! As before, "total" is the only required property; if the headers don't need to be changed, don't return a headers array, and if you append the rows to the table yourself within the ajaxProcessing function, you don't need to return a "rows" property.
|
||||
<pre class="prettyprint lang-js">ajaxProcessing: function(result, table){
|
||||
<pre class="prettyprint lang-js">ajaxProcessing: function(result, table, xhr){
|
||||
if (result && result.hasOwnProperty('data')) {
|
||||
|
||||
// "total" is a required property!
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**!
|
||||
* TableSorter 2.17.0 - Client-side table sorting with ease!
|
||||
* TableSorter 2.17.1 - Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
* Copyright (c) 2007 Christian Bach
|
||||
@ -24,7 +24,7 @@
|
||||
|
||||
var ts = this;
|
||||
|
||||
ts.version = "2.17.0";
|
||||
ts.version = "2.17.1";
|
||||
|
||||
ts.parsers = [];
|
||||
ts.widgets = [];
|
||||
@ -953,7 +953,7 @@
|
||||
e.stopPropagation();
|
||||
ts.destroy(table, c, cb);
|
||||
})
|
||||
.bind("resetToLoadState" + c.namespace, function(e){
|
||||
.bind("resetToLoadState" + c.namespace, function(){
|
||||
// remove all widgets
|
||||
ts.refreshWidgets(table, true, true);
|
||||
// restore original settings; this clears out current settings, but does not clear
|
||||
@ -1641,7 +1641,7 @@
|
||||
is: function() {
|
||||
return false;
|
||||
},
|
||||
format: function(s) {
|
||||
format: function() {
|
||||
return '';
|
||||
},
|
||||
type: 'text'
|
||||
|
4
js/jquery.tablesorter.min.js
vendored
4
js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
/*! tableSorter 2.16+ widgets - updated 5/22/2014 (v2.17.0)
|
||||
/*! tableSorter 2.16+ widgets - updated 5/28/2014 (v2.17.1)
|
||||
*
|
||||
* Column Styles
|
||||
* Column Filters
|
||||
|
32
js/jquery.tablesorter.widgets.min.js
vendored
32
js/jquery.tablesorter.widgets.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
||||
/*! input & select parsers for jQuery 1.7+ & tablesorter 2.7.11+
|
||||
* Updated 4/27/2014 (v2.16.2)
|
||||
* Updated 5/28/2014 (v2.17.1)
|
||||
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
|
||||
*/
|
||||
/*jshint browser: true, jquery:true, unused:false */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! tablesorter math widget - beta - updated 5/22/2014 (v2.17.0)
|
||||
/*! tablesorter math widget - beta - updated 5/28/2014 (v2.17.1)
|
||||
* Requires tablesorter v2.16+ and jQuery 1.7+
|
||||
* by Rob Garrison
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Pager widget (beta) for TableSorter 5/22/2014 (v2.17.0) */
|
||||
/* Pager widget (beta) for TableSorter 5/28/2014 (v2.17.1) */
|
||||
/*jshint browser:true, jquery:true, unused:false */
|
||||
;(function($){
|
||||
"use strict";
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.17.0",
|
||||
"version": "2.17.1",
|
||||
"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",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.17.0",
|
||||
"version": "2.17.1",
|
||||
"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",
|
||||
|
Loading…
Reference in New Issue
Block a user