From fdef8e02c363eded753e5f4b2f5647eb81051d1c Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 24 Feb 2011 19:07:45 +0000 Subject: [PATCH] Fixed: The scrolling header container should really be width:100% rather than a fixed width. The pixel width was trying to do width:100% and succeeding, but needing to be calculated rather than done natively. --- media/js/jquery.dataTables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index fef8a649..9257e2be 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -3629,6 +3629,7 @@ } nScrollHead.style.border = "0"; + nScrollHead.style.width = "100%"; nScrollFoot.style.border = "0"; nScrollHeadInner.style.width = "150%"; /* will be overwritten */ @@ -3947,7 +3948,6 @@ var iOuterWidth = $(o.nTable).outerWidth(); nScrollHeadTable.style.width = _fnStringToCss( iOuterWidth ); nScrollHeadInner.style.width = _fnStringToCss( iOuterWidth+o.oScroll.iBarWidth ); - nScrollHeadInner.parentNode.style.width = _fnStringToCss( $(nScrollBody).width() ); if ( o.nTFoot !== null ) {