mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
docs for custom storage
This commit is contained in:
parent
9740577ba5
commit
a332cadba6
@ -62,6 +62,9 @@
|
|||||||
|
|
||||||
// Save pager page & size if the storage script is loaded (requires $.tablesorter.storage in jquery.tablesorter.widgets.js)
|
// Save pager page & size if the storage script is loaded (requires $.tablesorter.storage in jquery.tablesorter.widgets.js)
|
||||||
savePages : true,
|
savePages : true,
|
||||||
|
|
||||||
|
//defines custom storage key
|
||||||
|
storageKey:'tablesorter-pager',
|
||||||
|
|
||||||
// if true, the table will remain the same height no matter how many records are displayed. The space is made up by an empty
|
// if true, the table will remain the same height no matter how many records are displayed. The space is made up by an empty
|
||||||
// table row set to a height to compensate; default is false
|
// table row set to a height to compensate; default is false
|
||||||
|
@ -2971,6 +2971,14 @@ $.extend($.tablesorter.themes.jui, {
|
|||||||
<td><a href="example-pager.html">Example</a></td>
|
<td><a href="example-pager.html">Example</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr id="custom-storage">
|
||||||
|
<td><span class="permalink">storageKey</span></td>
|
||||||
|
<td>String</td>
|
||||||
|
<td>tablesorter-pager</td>
|
||||||
|
<td>Saves tablesorter paging to custom key if defined. Useful if you have multiple tables defined.</td>
|
||||||
|
<td><a href="example-pager.html">Example</a></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr id="pager-fixedheight">
|
<tr id="pager-fixedheight">
|
||||||
<td><a href="#" class="permalink">fixedHeight</a></td>
|
<td><a href="#" class="permalink">fixedHeight</a></td>
|
||||||
<td>Boolean</td>
|
<td>Boolean</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user