Browse Source

columnSize

master
young 8 years ago
parent
commit
72aa1a5beb
  1. 2
      bi/base.js
  2. 4
      bi/case.js
  3. 2
      docs/base.js
  4. 4
      docs/case.js
  5. 4
      src/case/table/table.dynamicsummarytree.js

2
bi/base.js

@ -18301,7 +18301,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
if (199 < xhr.status && xhr.status < 400) { if (199 < xhr.status && xhr.status < 400) {
upload["onload"]({}); upload["onload"]({});
var attachO = BI.jsonDecode(xhr.responseText); var attachO = BI.jsonDecode(xhr.responseText);
attachO.filename = BI.cjkDecode(handler.file.fileName); attachO.filename = handler.file.fileName;
if (handler.file.type.indexOf('image') != -1) { if (handler.file.type.indexOf('image') != -1) {
attachO.attach_type = "image"; attachO.attach_type = "image";
} }

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);
}); });
}, },

2
docs/base.js

@ -18301,7 +18301,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
if (199 < xhr.status && xhr.status < 400) { if (199 < xhr.status && xhr.status < 400) {
upload["onload"]({}); upload["onload"]({});
var attachO = BI.jsonDecode(xhr.responseText); var attachO = BI.jsonDecode(xhr.responseText);
attachO.filename = BI.cjkDecode(handler.file.fileName); attachO.filename = handler.file.fileName;
if (handler.file.type.indexOf('image') != -1) { if (handler.file.type.indexOf('image') != -1) {
attachO.attach_type = "image"; attachO.attach_type = "image";
} }

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