Browse Source

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

* commit '6011b302be4f60a13680f3230a8af9808af2b3b6':
  update
  columnSize
es6
guy 8 years ago
parent
commit
169697910c
  1. 4
      bi/case.js
  2. 4
      docs/case.js
  3. 4
      src/case/table/table.dynamicsummarytree.js

4
bi/case.js

@ -9752,7 +9752,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, {
var columnSize = this.getColumnSize(); var columnSize = this.getColumnSize();
var length = o.columnSize.length - columnSize.length; var length = o.columnSize.length - columnSize.length;
o.columnSize = columnSize.slice(); 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); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE, arguments);
}); });
this.table.on(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, function () { 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 columnSize = this.getColumnSize();
var length = o.columnSize.length - columnSize.length; var length = o.columnSize.length - columnSize.length;
o.columnSize = columnSize.slice(); 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); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, arguments);
}); });
}, },

4
docs/case.js

@ -9752,7 +9752,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, {
var columnSize = this.getColumnSize(); var columnSize = this.getColumnSize();
var length = o.columnSize.length - columnSize.length; var length = o.columnSize.length - columnSize.length;
o.columnSize = columnSize.slice(); 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); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE, arguments);
}); });
this.table.on(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, function () { 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 columnSize = this.getColumnSize();
var length = o.columnSize.length - columnSize.length; var length = o.columnSize.length - columnSize.length;
o.columnSize = columnSize.slice(); 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); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, arguments);
}); });
}, },

4
src/case/table/table.dynamicsummarytree.js

@ -94,7 +94,7 @@ BI.DynamicSummaryTreeTable = BI.inherit(BI.Widget, {
var columnSize = this.getColumnSize(); var columnSize = this.getColumnSize();
var length = o.columnSize.length - columnSize.length; var length = o.columnSize.length - columnSize.length;
o.columnSize = columnSize.slice(); 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); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE, arguments);
}); });
this.table.on(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, function () { 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 columnSize = this.getColumnSize();
var length = o.columnSize.length - columnSize.length; var length = o.columnSize.length - columnSize.length;
o.columnSize = columnSize.slice(); 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); self.fireEvent(BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE, arguments);
}); });
}, },

Loading…
Cancel
Save