diff --git a/bi/case.js b/bi/case.js index d0c7eff60b..546c49b202 100644 --- a/bi/case.js +++ b/bi/case.js @@ -9752,7 +9752,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, { var columnSize = this.getColumnSize(); var length = o.columnSize.length - columnSize.length; o.columnSize = columnSize.slice(); - o.columnSize.splice(columnSize.length, length, ""); + o.columnSize = o.columnSize.concat(BI.makeArray(length, 0)); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE, arguments); }); this.table.on(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, function () { @@ -9760,7 +9760,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, { var columnSize = this.getColumnSize(); var length = o.columnSize.length - columnSize.length; o.columnSize = columnSize.slice(); - o.columnSize.splice(columnSize.length, length, ""); + o.columnSize = o.columnSize.concat(BI.makeArray(length, 0)); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, arguments); }); }, diff --git a/docs/case.js b/docs/case.js index d0c7eff60b..546c49b202 100644 --- a/docs/case.js +++ b/docs/case.js @@ -9752,7 +9752,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, { var columnSize = this.getColumnSize(); var length = o.columnSize.length - columnSize.length; o.columnSize = columnSize.slice(); - o.columnSize.splice(columnSize.length, length, ""); + o.columnSize = o.columnSize.concat(BI.makeArray(length, 0)); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE, arguments); }); this.table.on(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, function () { @@ -9760,7 +9760,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, { var columnSize = this.getColumnSize(); var length = o.columnSize.length - columnSize.length; o.columnSize = columnSize.slice(); - o.columnSize.splice(columnSize.length, length, ""); + o.columnSize = o.columnSize.concat(BI.makeArray(length, 0)); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, arguments); }); }, diff --git a/src/case/table/table.dynamicsummarytree.js b/src/case/table/table.dynamicsummarytree.js index f53b8c49b7..a621fc0982 100644 --- a/src/case/table/table.dynamicsummarytree.js +++ b/src/case/table/table.dynamicsummarytree.js @@ -94,7 +94,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, { var columnSize = this.getColumnSize(); var length = o.columnSize.length - columnSize.length; o.columnSize = columnSize.slice(); - o.columnSize.splice(columnSize.length, length, ""); + o.columnSize = o.columnSize.concat(BI.makeArray(length, 0)); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE, arguments); }); this.table.on(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, function () { @@ -102,7 +102,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, { var columnSize = this.getColumnSize(); var length = o.columnSize.length - columnSize.length; o.columnSize = columnSize.slice(); - o.columnSize.splice(columnSize.length, length, ""); + o.columnSize = o.columnSize.concat(BI.makeArray(length, 0)); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, arguments); }); },