From f4701e28c84b97cdf095b7a1f70a2b033ffe338f Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Fri, 16 Sep 2011 13:39:03 -0500 Subject: [PATCH] disable filter widget per column --- README.markdown | 8 ++++++++ changelog.txt | 9 +++++++++ docs/example-widget-filter.html | 26 ++++++++++++++++++++++---- docs/index.html | 10 +++++++--- index.html | 22 +++++++++++----------- js/jquery.tablesorter.js | 6 +++--- js/jquery.tablesorter.min.js | 4 ++-- js/jquery.tablesorter.widgets.js | 5 ++++- 8 files changed, 66 insertions(+), 24 deletions(-) diff --git a/README.markdown b/README.markdown index 94ef2764..93f8f6ea 100644 --- a/README.markdown +++ b/README.markdown @@ -28,6 +28,14 @@ Included all original [document pages](http://mottie.github.com/tablesorter/docs View the [complete listing here](http://mottie.github.com/tablesorter/changelog.txt). +#### Version 2.0.20 (2011-09-16) + +* Filter Widget + * Added "filter" to the "headers" option to allow disabling the filter option for a specific column - thanks jizo! + * Added "filter-false" class, that when applied will disable the filter widget for that column. + * Updated the headers docs and the filter widget demo. +* Updated the currency parser to use unicode characters to better work in different document formats. + #### Version 2.0.19 (2011-09-16) * Added code in attempt to clear the table headers between multiple tables - fix for [issue #2](https://github.com/Mottie/tablesorter/issues/2). diff --git a/changelog.txt b/changelog.txt index 64143c05..c776a430 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,14 @@ TableSorter Change Log +Version 2.0.20 (2011-09-16) +============================ + +* Filter Widget + * Added "filter" to the "headers" option to allow disabling the filter option for a specific column - thanks jizo! + * Added "filter-false" class, that when applied will disable the filter widget for that column. + * Updated the headers docs and the filter widget demo. +* Updated the currency parser to use unicode characters to better work in different document formats. + Version 2.0.19 (2011-09-16) ============================ diff --git a/docs/example-widget-filter.html b/docs/example-widget-filter.html index 0d693092..52b9b16b 100644 --- a/docs/example-widget-filter.html +++ b/docs/example-widget-filter.html @@ -26,7 +26,8 @@ // call the tablesorter plugin $("table").tablesorter({ // initialize zebra striping and filter widgets - widgets: ["zebra", "filter"] + widgets: ["zebra", "filter"], + headers: { 5: { sorter: false, filter: false } } }); }); @@ -41,7 +42,12 @@

- NOTE! This widget can be applied to the original plugin. + NOTE! +