Permalink
Browse files

fix: 解决设置overWidthHiddenColumn为true之后当显示的数据列宽度不足时会将开发定义的隐藏列显示出来的问题

  • Loading branch information...
LiuYueKai committed May 23, 2017
1 parent 0d97363 commit 6917267e9d123fb5ea6f971a1896f4ccef11abc0
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/js/re_gridCompOverWidthHidden.js
@@ -34,7 +34,8 @@ const re_widthChangeGridFunOverWidthHidden = function() {
}
this.columnsVisibleFun();
} else {
for (var i = this.gridCompHiddenLevelColumnArr.length - 1; i > -1; i--) {
// 会将隐藏的显示出来
/*for (var i = this.gridCompHiddenLevelColumnArr.length - 1; i > -1; i--) {
var column = this.gridCompHiddenLevelColumnArr[i];
if (!column.options.visible) {
columnWholeWidth = parseInt(columnWholeWidth) + parseInt(column.options.width);
@@ -44,7 +45,7 @@ const re_widthChangeGridFunOverWidthHidden = function() {
column.options.visible = true;
}
}
this.columnsVisibleFun();
this.columnsVisibleFun();*/
}
}
};

0 comments on commit 6917267

Please sign in to comment.