diff --git a/docs/index.html b/docs/index.html index 8c72b313..5b93c679 100644 --- a/docs/index.html +++ b/docs/index.html @@ -457,7 +457,7 @@
index
- zero-based index of the current table header cell; this value is not indicative of the column index, as it is simply a count of header cells. So it will be effected by rowspan, colspan and multiple rows in the header.String.localeCompare
method.true
, the text parsed from table cells will convert accented characters to their equivalent to allow the alphanumeric sort to properly sort.false
(default), any accented characters are treated as their value in the standard unicode order.áàâãä
replaced with a
ç
replaced with c
true
and sorting two rows with exactly the same content, the original sort order is maintained (v2.14).
"ctrlKey"
or "altKey"
(reference).The other options include "ctrlKey"
or "altKey"
(reference)
"type"
or "bubbles"
. See issue #1200).
+ Change this option if you're using pointer events (or the pointer events polyfill). Add multiple events separated by spaces.
+Change this option if you're using pointer events (or the pointer events polyfill). Add multiple events separated by spaces.
Warning If this option is set to fire multiple events (e.g.'mousedown pointerdown'
), sorting may be initialized twice in rapid succession and make it appear that nothing changed.
Change this option if you're using pointer events (or the pointer events polyfill). Add multiple events separated by spaces.
+Change this option if you're using pointer events (or the pointer events polyfill). Add multiple events separated by spaces.
Warning If this option is set to fire multiple events (e.g.'mouseup pointerup'
), sorting may be initialized twice in rapid succession and make it appear that nothing changed.
$(function(){ $("table").tablesorter({ textSorter : naturalSort @@ -2051,7 +2057,7 @@ $(function(){Filter widget: jQuery selector string of an element used to reset the filters (v2.4; v2.16).This option is used by multiple parsers to localize the language (v2.24.0; v2.24.1).
- This option is meant to be used with the jQuery Globalize library along with CLDR data. + This option is meant to be used with the jQuery Globalize library along with CLDR data.See the Globalization section in the group widget demo for details on how to set it up.
Currently, the globalize (
parser-globalize.js
), month (parser-date-month.js
) & weekday (parser-date-weekday.js
) parsers utilize this option.$(function(){ @@ -2342,7 +2348,7 @@ $(function(){ Filter widget: If there are child rows in the table (rows with class name from"cssChildRow"
option) and this option istrue
and a match is found anywhere in the child row, then it will make that row visible. (Modified v2.1).-*NOTE* When using this option, please be aware that all child row content will be obtained from each table cell using
+textContent
, so none of the markup will be preserved. Also, carriage returns (<br>
) will not be included. To account for the loss of white space, especially after carriage returns, please add an extra space to the end of the line. UsinginnerText
, could have been an option for preserving the white space, but it is not standardized across all browsers (ref).*NOTE* When using this option, please be aware that all child row content will be obtained from each table cell using
Use thetextContent
, so none of the markup will be preserved. Also, carriage returns (<br>
) will not be included. To account for the loss of white space, especially after carriage returns, please add an extra space to the end of the line. UsinginnerText
, could have been an option for preserving the white space, but it is not standardized across all browsers (ref).filter_childRows
option to include child row text as follows:$(function(){ $("table").tablesorter({ @@ -2669,7 +2675,7 @@ filter_cssFilter : [ '', 'hidden', '', 'hidden' ]} } }); -});Any of the other jQuery UI spinner widget options can also be included.
+});Any of the other jQuery UI spinner widget options can also be included.
- Filter formatter functions include: "uiSpinner", "uiSlider", "uiRange" (uiSlider ranged), "uiDatepicker" (range only), "html5Number", "html5Range" and "html5Color".
@@ -2958,7 +2964,7 @@ filter_cssFilter : [ '', 'hidden', '', 'hidden' ] from : '', // datepicker range "from" placeholder to : '' // datepicker range "to" placeholder } -Note: The browser must support the placeholder attribute before it will be visible. +Note: The browser must support the placeholder attribute before it will be visible.Example @@ -2972,7 +2978,7 @@ filter_cssFilter : [ '', 'hidden', '', 'hidden' ]
- When this option points to a reset element using a jQuery selector string, it is bound using event delegation. So if any additional reset elements, with the same class name, are added to the page dynamically, they will be associated with the same table.
+ When this option points to a reset element using a jQuery selector string, it is bound using event delegation. So if any additional reset elements, with the same class name, are added to the page dynamically, they will be associated with the same table.
For example, add this button (<button class="reset">Reset</button>
) to the table header, or anywhere else on the page. That element will be used as a reset for all column and quick search filters (clears all fields):
filter_function
options (so you need to add them back!), allowing the addition of custom select options and still maintain basic filtering action - see this demo (ref).filter_function
options (so you need to add them back!), allowing the addition of custom select options and still maintain basic filtering action - see this demo (ref).filter_selectSource
column can also be referenced by using a jQuery selector (e.g. class name or ID) that points to a table header cell.filter_selectSource : { @@ -3974,7 +3980,7 @@ $('table').trigger('search', false);
"html"
and modify the ajaxProcessing
function to instead work with HTML; then return a jQuery object or apply the HTML to the table yourself.$(function(){ $("table") .tablesorter() @@ -4005,7 +4011,7 @@ $('table').trigger('search', false);
settings
parameter was added before the exception
parameter to exactly match the parameters returned by the jQuery .ajaxError() method.settings
parameter was added before the exception
parameter to exactly match the parameters returned by the jQuery .ajaxError() method.$.tablesorter.showError
function is called by an external function with only a string.widgetOptions
and accessed via widgetOptions.pager_ajaxError
This function is ONLY included within the widget-pager.js
and jquery.tablesorter.pager.js
files; in version 3+, I plan to add it as a selectable option in a build.
In v2.23.1, a settings
parameter was included to make it match the parametered returned by the jQuery .ajaxError()
method.
In v2.23.1, a settings
parameter was included to make it match the parametered returned by the jQuery .ajaxError()
method.
In v2.23.0, this function will accept xhr
and exception
parameters provided by ajax error messages. To maintain backward compatibility, if xhr
is a string, it will be treated as previous message
parameter and displayed in the error row without modification.
$.tablesorter.showError( table, xhr, settings, exception );@@ -7592,9 +7598,9 @@ $.tablesorter.addHeaderResizeEvent( table, true ); tar.gz
bower install jquery.tablesorter
npm install tablesorter
bower install jquery.tablesorter
npm install tablesorter