mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Docs: update ajaxError pager widget equivalent
This commit is contained in:
parent
be6999c67a
commit
53ebab4c30
@ -3835,6 +3835,8 @@ $('table').trigger('search', false);</pre></div>
|
||||
This callback allows you to customize the error message displayed in the <code>thead</code> (<span class="version">v2.22.6</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>
|
||||
<br>
|
||||
Use it as follows:
|
||||
|
Loading…
Reference in New Issue
Block a user