From 4100e63d9f83a819127271a6eb58dadeb6b57060 Mon Sep 17 00:00:00 2001 From: Tony Tomov Date: Sun, 14 Aug 2011 11:42:51 +0300 Subject: [PATCH] Improvement in showHideCol. Thanks to Oleg --- js/grid.base.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/grid.base.js b/js/grid.base.js index 9f1677310..3525eeafe 100644 --- a/js/grid.base.js +++ b/js/grid.base.js @@ -2863,11 +2863,7 @@ $.jgrid.extend({ } }); if(fndh===true) { - if($t.p.shrinkToFit === false) { - $($t).jqGrid("setGridWidth",$t.grid.width ); - } else if($t.grid.width!==$t.p.tblwidth) { - $($t).jqGrid("setGridWidth",$t.p.tblwidth ); - } + $($t).jqGrid("setGridWidth",$t.p.tblwidth ); } }); },