Permalink
Browse files

feat: 优化grid编辑时只重绘当前编辑单元格,不再重绘整行数据

  • Loading branch information...
LiuYueKai committed Mar 9, 2017
1 parent d7c085a commit a0e6d84116eb4e5b935f13f3cca9dd899b685f1a
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -220,7 +220,7 @@
// var oldInitEventFun_rowDrag= gridCompProto.initEventFun;
var oldInitGridEventFun_rowDrag = gridCompProto.initGridEventFun;
- Object.assign(gridCompProto, _re_gridCompTree.treeFunObj);
+ Object.assign(gridCompProto, _re_gridCompRowDrag.rowDragFunObj);
gridCompProto.initGridEventFun = function () {
// 执行原有方法
View
@@ -166,6 +166,8 @@
this.fixedWidth = 0;
if (this.options.maxHeaderLevel > 1) {
this.options.canSwap = false;
+ this.options.canDrag = false;
+ this.options.columnMenu = false;
}
// 获取缓存id
var url = window.location.href;
Oops, something went wrong.

0 comments on commit a0e6d84

Please sign in to comment.