Browse Source

Merge pull request #41 in FUI/fineui from ~YOUNG/fineui:master to master

* commit '4fae0845f672537bd91e16718346e4238a35ae8c':
  无JIRA任务 dynamicsummarylayertree 的columnSize问题
master
guy 8 years ago
parent
commit
b3bd4d903a
  1. 18
      src/case/table/table.dynamicsummarylayertree.js

18
src/case/table/table.dynamicsummarylayertree.js

@ -175,18 +175,18 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, {
var vDeep = this._getVDeep();
var header = this._createHeader(vDeep);
var data = this._formatItems(o.items, header, deep);
// var columnSize = o.columnSize.slice();
// var minColumnSize = o.minColumnSize.slice();
// var maxColumnSize = o.maxColumnSize.slice();
// BI.removeAt(columnSize, data.deletedCols);
// BI.removeAt(minColumnSize, data.deletedCols);
// BI.removeAt(maxColumnSize, data.deletedCols);
var columnSize = o.columnSize.slice();
var minColumnSize = o.minColumnSize.slice();
var maxColumnSize = o.maxColumnSize.slice();
BI.removeAt(columnSize, data.deletedCols);
BI.removeAt(minColumnSize, data.deletedCols);
BI.removeAt(maxColumnSize, data.deletedCols);
return {
header: data.header,
items: data.items,
columnSize: this._formatColumnSize(o.columnSize, deep),
minColumnSize: this._formatColumns(o.minColumnSize, deep),
maxColumnSize: this._formatColumns(o.maxColumnSize, deep),
columnSize: this._formatColumnSize(columnSize, deep),
minColumnSize: this._formatColumns(minColumnSize, deep),
maxColumnSize: this._formatColumns(maxColumnSize, deep),
freezeCols: this._formatFreezeCols()
}
},

Loading…
Cancel
Save