Permalink
Browse files

sticky-false & new green theme

  • Loading branch information...
1 parent e6ba460 commit 7db56302244818cfbee0b13604de0633f97a3bc7 @Mottie committed Apr 23, 2012
View
@@ -35,6 +35,12 @@ tablesorter can successfully parse and sort many types of data including linked
View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Change).
+#### Version 2.1.18 (4/23/2012)
+
+* When the sticky headers widget is applied to a table with multiple header rows, adding the class name `sticky-false` to any header row will prevent it from becoming sticky. Thanks to [megatom](https://github.com/megatom) for the suggestion in [issue #52](https://github.com/Mottie/tablesorter/issues/52#issuecomment-5261303)!
+* Updated filter widget css to better work with twitter's bootstrap. Fix per [issue #54](https://github.com/Mottie/tablesorter/issues/54). Thanks [thezoggy](https://github.com/thezoggy)!
+* Modified the green theme arrows; see the [columns style widget](http://mottie.github.com/tablesorter/docs/example-widget-columns.html) demo and choose the green theme to see the change. I've included the PSD files as well.
+
#### Version 2.1.17 (4/21/2012)
* Fixed an error reported in [issue #52](https://github.com/Mottie/tablesorter/issues/52) which occurrs when using the metadata plugin after the last update.
View
Binary file not shown.
View
@@ -93,6 +93,7 @@ table.tablesorter tr.even td.tertiary {
/* filter widget */
table.tablesorter input.tablesorter-filter {
width: 95%;
+ height: inherit;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -85,6 +85,7 @@ table.tablesorter tr.even td.tertiary {
/* filter widget */
table.tablesorter input.tablesorter-filter {
width: 95%;
+ height: inherit;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
View
@@ -44,6 +44,7 @@ table.tablesorter tr.ui-state-default {
/* filter widget */
table.tablesorter thead tr.tablesorter-filter input.tablesorter-filter {
width: 95%;
+ height: inherit;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
View
@@ -56,4 +56,6 @@ div.digg {float: right;}
a.deprecated { color: #a00; }
span.deprecated { background: #a00; color: #fff; padding: 1px 3px; }
.hidden { display: none; }
-.clear { clear: both; }
+.clear { clear: both; }
+.download { color: #050505; text-decoration: none; padding: 3px 10px; border: 1px solid #ddd; background: -moz-linear-gradient( top, #ddd 0%, #bbb 50%, #aaa 50%, #bbb); background: -webkit-gradient( linear, left top, left bottom, from(#ddd), color-stop(0.50, #bbb), color-stop(0.50, #aaa), to(#bbb)); border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px; }
+.download:hover { background: -moz-linear-gradient( top, #dddddd 0%, #dddddd 50%, #cccccc 50%, #dddddd); background: -webkit-gradient( linear, left top, left bottom, from(#dddddd), color-stop(0.50, #dddddd), color-stop(0.50, #cccccc), to(#dddddd)); }
@@ -77,14 +77,15 @@
<li>This widget can be applied to the original plugin. The code is in the "jquery.tablesorter.widgets.js" file.</li>
<li>Scroll down the page to see the headers stick. Then sort the columns using the sticky headers!</li>
<li>Added <code class="hilight">widgetOptions.stickyHeader</code> option which contains the css class name applied to the actual sticky header. <span class="tip"><em>New! v2.1</em></span></li>
- <li>Multiple rows in the header will become sticky.</li>
+ <li>Multiple rows in the header will become sticky. <span class="tip"><em>New! v2.1.17</em></span></li>
<li>For the sticky header to work properly if any <code class="hilight">&lt;TD&gt;</code>'s are included within the header:
<ul>
<li>Set the <code class="hilight">selectorHeaders</code> option to <code class="hilight">thead th, thead td</code>.</li>
<li>The <code class="hilight">&lt;TD&gt;</code> may not be styled properly, so CSS changes may be needed.</li>
<li>To prevent the <code class="hilight">&lt;TD&gt;</code> from being sortable, add a <code class="hilight">sorter-false</code> class name.</li>
</ul>
</li>
+ <li>Add the class name <code class="hilight">sticky-false</code> to any header rows you don't want to become sticky. <span class="tip"><em>New! v2.1.18</em></span></li>
<li>Because of an issue with jQuery version 1.2.6 causing an error, this widget needs at least jQuery version 1.3+ in order to work.</li>
<li>Because of the limitations of Internet Explorer version 7 and older, this widget will not work.</li>
</ul>
View
@@ -1526,7 +1526,7 @@
<a id="Download"></a>
<h1>Download</h1>
- <p><strong>Full release</strong> - Plugin, Documentation, Add-ons, Themes <a href="http://github.com/Mottie/tablesorter/downloads">jquery.tablesorter.zip</a></p>
+ <p><strong>Full release</strong> - Plugin, Documentation, Add-ons, Themes. Download: <a class="download zip" href="https://github.com/Mottie/tablesorter/zipball/master">zip</a> or <a class="download tar" href="https://github.com/Mottie/tablesorter/tarball/master">tar.gz</a></p>
<p><strong>Pick n choose</strong> - Place at least the required files in a directory on your webserver that is accessible to a web browser. Record this location.</p>
View
@@ -1,5 +1,5 @@
/*!
-* TableSorter 2.1.17 - Client-side table sorting with ease!
+* TableSorter 2.1.18 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
* Copyright (c) 2007 Christian Bach
@@ -18,7 +18,7 @@
$.extend({
tablesorter: new function(){
- this.version = "2.1.17";
+ this.version = "2.1.18";
var parsers = [], widgets = [], tbl;
this.defaults = {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,4 +1,4 @@
-/*! tableSorter 2.1 widgets - updated 4/21/2012
+/*! tableSorter 2.1 widgets - updated 4/23/2012
*
* jQuery UI Theme
* Column Styles
@@ -234,11 +234,11 @@ $.tablesorter.addWidget({
wo = table.config.widgetOptions,
win = $(window),
header = $(table).find('thead'),
- hdrCells = header.find('tr').children(),
+ hdrCells = header.find('tr:not(.sticky-false)').children(),
css = wo.stickyHeaders || 'tablesorter-stickyHeader',
innr = '.tablesorter-header-inner',
firstCell = hdrCells.eq(0),
- sticky = header.find('tr.tablesorter-header').clone()
+ sticky = header.find('tr.tablesorter-header:not(.sticky-false)').clone()
.removeClass('tablesorter-header')
.addClass(css)
.css({

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "tablesorter",
- "version": "2.1.17",
+ "version": "2.1.18",
"title": "tablesorter",
"author": {
"name": "Christian Bach",

0 comments on commit 7db5630

Please sign in to comment.