Skip to content

Commit

Permalink
Improvement in showHideCol. Thanks to Oleg
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytomov committed Aug 14, 2011
1 parent ac9662f commit 4100e63
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions js/grid.base.js
Expand Up @@ -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 );
}
});
},
Expand Down

0 comments on commit 4100e63

Please sign in to comment.