From af0a142948abceedae8439a906e4c594f963d496 Mon Sep 17 00:00:00 2001 From: Mottie Date: Sat, 16 Nov 2013 12:58:59 -0600 Subject: [PATCH] Add filter_saveFilters option. See #388 --- docs/example-widget-filter.html | 9 +++++++-- docs/index.html | 19 +++++++++++++++++++ js/jquery.tablesorter.widgets.js | 18 +++++++++++++++--- 3 files changed, 41 insertions(+), 5 deletions(-) diff --git a/docs/example-widget-filter.html b/docs/example-widget-filter.html index 7d6dd3b9..6b4b4818 100644 --- a/docs/example-widget-filter.html +++ b/docs/example-widget-filter.html @@ -86,6 +86,9 @@ // jQuery selector string of an element used to reset the filters filter_reset : 'button.reset', + // Use the $.tablesorter.storage utility to save the most recent filters (default setting is false) + filter_saveFilters : true, + // Delay in milliseconds before the filter widget starts searching; This option prevents searching for // every character while typing and should make searching large tables faster. filter_searchDelay : 300, @@ -195,6 +198,7 @@ $(function(){

Notes