<li>Sorry for all of these breaking changes, I should have left this widget in beta.</li>
<li>The <code>headerTitle_prefix</code>, <code>headerTitle_text</code>, <code>headerTitle_numeric</code> options has been replaced, in lieu of the new ouput options; sorry for no deprecation notice.</li>
<li>Added <code>headerTitle_useAria</code>, <code>headerTitle_tooltip</code>, <code>headerTitle_output_sorted</code>, <code>headerTitle_output_unsorted</code>, <code>headerTitle_output_nosort</code>, <code>headerTitle_cur_text</code>, <code>headerTitle_cur_numeric</code>, <code>headerTitle_nxt_text</code>, <code>headerTitle_nxt_numeric</code>, <code>headerTitle_type</code>&<code>headerTitle_callback</code> options. See the options section below for more details.</li>
<li>Added <code>"refreshHeaderTitle"</code> method to force the widget to update.</li>
When <code>true</code>, the headers titles are extracted from the <code>aria-label</code>. The text in that label is built from the <ahref="http://mottie.github.io/tablesorter/docs/#variable-language"><code>$.tablesorter.language</code> option</a>.
</td>
</tr>
<tr>
<td>headerTitle_tooltip</td>
<td><code>""</code></td>
<td>
Add a (tooltip) class name to the header, yeah you could have used the <ahref="http://mottie.github.io/tablesorter/docs/#cssheader"><code>cssHeader</code> option</a> to do the same thing, but this option allows adding classes using an array.
When any of the header title output options use the <code>{current}</code> tag, it is replaced by values from either the current ("cur") text or numeric option array as determined by the column unsorted state or sort direction.<br>
<br>
The array must contain text for ascending, descending and unsorted state (in that order). Defaults:
<preclass="prettyprint lang-js">headerTitle_cur_text : [ ' sort: A - Z', ' sort: Z - A', 'ly unsorted' ],
When any of the header title output options use the <code>{next}</code> tag, it is replaced by values from either the next ("nxt") text or numeric option array as determined by the column unsorted state or sort direction.<br>
<br>
The array must contain text for when the next state is ascending, descending and unsorted (in that order). Defaults:
<preclass="prettyprint lang-js">headerTitle_nxt_text : [ ' sort: A - Z', ' sort: Z - A', 'remove sort' ],
Set the output string for each sort condition: sorted, unsorted or sorting disabled.<br>
<br>
Each of these option strings can include a <code>{name}</code>, <code>{current}</code> and <code>{next}</code> tag.
<ul>
<li>The <code>{name}</code> tag is replaced by the header text.</li>
<li>The <code>{current}</code> tag is replaced by the type-appropriate text from either the <code>headerTitle_cur_text</code> or <code>headerTitle_cur_numeric</code> option.</li>
<li>The <code>{next}</code> tag is replaced by the type-appropriate text from either the <code>headerTitle_nxt_text</code> or <code>headerTitle_nxt_numeric</code> option.</li>
</ul>
Defaults:
<preclass="prettyprint lang-js">headerTitle_output_sorted : 'current{current}; activate to {next}',
headerTitle_output_unsorted : 'current{current}; activate to {next} ',
Note: the reason "activate" is used instead of "click" is because the user can also <kbd>Tab</kbd> to the header cell and press <kbd>Enter</kbd> to initiate a sort.
</td>
</tr>
<tr>
<td>headerTitle_type</td>
<td><code>[]</code></td>
<td>Each column type is determined by the parser <code>type</code> value. So, if you want to override a column default type, set this option with an array with the specified column changed to either "text" or "numeric". This is useful when a date column shows as a numeric sort, but you want your users to see it as a text sort.<br>
<br>
As seen in the second table initialization code below, if an array element is undefined or an empty string, it will not override the default type.
This callback function is executed after the title text string has completed processing. Any additional changes, or modifications can be done within this function. This function has two parameters <code>$cell</code> (the header cell as a jQuery object), and the processed text (<code>txt</code>). The function <strong>must</strong> return the text!