diff --git a/docs/index.html b/docs/index.html index d3d26f77..203156d5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4090,6 +4090,53 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in
aria-label
on each header column.$.tablesorter.language = { + sortAsc : 'Ascending sort applied, ', + sortDesc : 'Descending sort applied, ', + sortNone : 'No sort applied, ', + nextAsc : 'activate to apply an ascending sort', + nextDesc : 'activate to apply a descending sort', + nextNone : 'activate to remove the sort' +};+ So, as an example, in the following situation: +
sortInitialOrder
option has its default setting; so the sort order will switch from ascending to descending on the second click.lockedOrder
is set within the headers
option// "Header Name" + $.tablesorter.language.sortAsc + $.tablesorter.language.nextDesc +"Account #: Ascending sort applied, activate to apply a descending sort"+ If the next click were to reset the sort (
sortReset
applied), then the message would use $.tablesorter.language.nextNone
.$(function(){ + + $.tablesorter.language = { + sortAsc : "sorting from a to z, ", + sortDesc : "sorting from z to a, ", + sortNone : "not sorted, but ", + nextAsc : "click to sort from a to z", + nextDesc : "click to sort from z to a", + nextNone : "click to clear the sort" + } + $("table").tablesorter(); +});+