Browse Source

Merging in latest from upstream (FUI/fineui:refs/heads/master)

* commit 'b3bd4d903ab7ee8a7d7da528dbb6e308832e271b':
  无JIRA任务 dynamicsummarylayertree 的columnSize问题
es6
guy 8 years ago
parent
commit
75b7d0efe9
  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