Permalink
Browse files

Other fixes in cellWidth

  • Loading branch information...
1 parent b50b55f commit cf26b2cf41b9cc8f9da410ab4ad01fb1cec8f0d3 @tonytomov committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/grid.base.js
View
@@ -183,7 +183,7 @@ $.extend($.jgrid,{
},
cellWidth : function () {
var testcell = $("<div class='ui-jqgrid'><table class='ui-jqgrid-btable' style='width:5px;'><tr class='jqgrow'><td style='width:5px;'></td></tr></table></div>").find("td").width(),
- ret = ( cellLayout != testcell );
+ ret = ( testcell != 5);
testcell = null;
return ret;
},

0 comments on commit cf26b2c

Please sign in to comment.