guy 6 years ago
parent
commit
ba26d78433
  1. 32
      dist/_fineui.min.js
  2. 3
      dist/bundle.js
  3. 34
      dist/bundle.min.js
  4. 19
      dist/demo.js
  5. 32
      dist/fineui.min.js
  6. 3
      dist/widget.js
  7. 3
      src/widget/previewtable/previewtable.js

32
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/bundle.js vendored

@ -100236,12 +100236,12 @@ BI.PreviewTable = BI.inherit(BI.Widget, {
})
});
this.table.on(BI.Table.EVENT_TABLE_AFTER_INIT, function () {
self._adjustColumns();
self.fireEvent(BI.Table.EVENT_TABLE_AFTER_INIT, arguments);
});
this.table.on(BI.Table.EVENT_TABLE_RESIZE, function () {
self._adjustColumns();
});
this._adjustColumns();
},
// 是否有自适应调节的列,即列宽为""
@ -100380,6 +100380,7 @@ BI.PreviewTable = BI.inherit(BI.Widget, {
populate: function (items, header) {
this.table.populate(items, header);
this._adjustColumns();
}
});
BI.PreviewTable.EVENT_CHANGE = "PreviewTable.EVENT_CHANGE";

34
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

19
dist/demo.js vendored

@ -859,26 +859,15 @@ BI.shortcut("demo.multifile_editor", Demo.CodeEditor);Demo.RichEditor = BI.inher
this.editor = BI.createWidget({
type: "bi.rich_editor",
cls: "mvc-border",
width: "100%",
height: "100%"
width: 600,
height: 400
});
BI.createWidget({
type: "bi.vertical",
element: this,
hgap: 30,
vgap: 50,
items: [{
type: "bi.absolute",
width: 600,
height: 400,
items: [{
el: this.editor,
left: 10,
right: 10,
top: 10,
bottom: 10
}]
}]
items: [this.editor]
});
},
@ -888,8 +877,6 @@ BI.shortcut("demo.multifile_editor", Demo.CodeEditor);Demo.RichEditor = BI.inher
var style = image.style;
this.editor.setValue("<div>这是一条<font size=\"4\" color=\"#009de3\">测试</font>数据<img width='" + image.width + "' height='" + image.height + "' src='" + src + "' style='" + style + "' /></div>");
this.editor.focus();
}
});
BI.shortcut("demo.rich_editor", Demo.RichEditor);/**

32
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/widget.js vendored

@ -13737,12 +13737,12 @@ BI.PreviewTable = BI.inherit(BI.Widget, {
})
});
this.table.on(BI.Table.EVENT_TABLE_AFTER_INIT, function () {
self._adjustColumns();
self.fireEvent(BI.Table.EVENT_TABLE_AFTER_INIT, arguments);
});
this.table.on(BI.Table.EVENT_TABLE_RESIZE, function () {
self._adjustColumns();
});
this._adjustColumns();
},
// 是否有自适应调节的列,即列宽为""
@ -13881,6 +13881,7 @@ BI.PreviewTable = BI.inherit(BI.Widget, {
populate: function (items, header) {
this.table.populate(items, header);
this._adjustColumns();
}
});
BI.PreviewTable.EVENT_CHANGE = "PreviewTable.EVENT_CHANGE";

3
src/widget/previewtable/previewtable.js

@ -54,12 +54,12 @@ BI.PreviewTable = BI.inherit(BI.Widget, {
})
});
this.table.on(BI.Table.EVENT_TABLE_AFTER_INIT, function () {
self._adjustColumns();
self.fireEvent(BI.Table.EVENT_TABLE_AFTER_INIT, arguments);
});
this.table.on(BI.Table.EVENT_TABLE_RESIZE, function () {
self._adjustColumns();
});
this._adjustColumns();
},
// 是否有自适应调节的列,即列宽为""
@ -198,6 +198,7 @@ BI.PreviewTable = BI.inherit(BI.Widget, {
populate: function (items, header) {
this.table.populate(items, header);
this._adjustColumns();
}
});
BI.PreviewTable.EVENT_CHANGE = "PreviewTable.EVENT_CHANGE";

Loading…
Cancel
Save