From 4fae0845f672537bd91e16718346e4238a35ae8c Mon Sep 17 00:00:00 2001 From: young Date: Fri, 12 May 2017 16:48:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20dynamicsummar?= =?UTF-8?q?ylayertree=20=E7=9A=84columnSize=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../table/table.dynamicsummarylayertree.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/case/table/table.dynamicsummarylayertree.js b/src/case/table/table.dynamicsummarylayertree.js index 15e7083490..da02b8c14d 100644 --- a/src/case/table/table.dynamicsummarylayertree.js +++ b/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() } },