From a332cadba6c508939cf8dfd5066c137e8262792e Mon Sep 17 00:00:00 2001 From: James Reynolds Date: Thu, 16 Jan 2014 13:12:54 -0500 Subject: [PATCH] docs for custom storage --- docs/example-pager.html | 3 +++ docs/index.html | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/docs/example-pager.html b/docs/example-pager.html index f15afb7f..0e0ce65b 100644 --- a/docs/example-pager.html +++ b/docs/example-pager.html @@ -62,6 +62,9 @@ // Save pager page & size if the storage script is loaded (requires $.tablesorter.storage in jquery.tablesorter.widgets.js) 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 // table row set to a height to compensate; default is false diff --git a/docs/index.html b/docs/index.html index e2ec44e7..81f893d3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2971,6 +2971,14 @@ $.extend($.tablesorter.themes.jui, { Example + + storageKey + String + tablesorter-pager + Saves tablesorter paging to custom key if defined. Useful if you have multiple tables defined. + Example + + Boolean