From ed25fbb9e4510bfb9e7bf9e8a48682804b00abce Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 26 May 2017 17:02:06 +0800 Subject: [PATCH] update --- bi/base.js | 2 +- bi/widget.js | 4 ++++ docs/base.js | 2 +- docs/widget.js | 4 ++++ src/base/table/table.collection.cell.js | 2 +- src/widget/downlist/combo.downlist.js | 4 ++++ 6 files changed, 15 insertions(+), 3 deletions(-) diff --git a/bi/base.js b/bi/base.js index f93fa5363..b92b70061 100644 --- a/bi/base.js +++ b/bi/base.js @@ -28841,7 +28841,7 @@ BI.CollectionTableCell = BI.inherit(BI.Widget, { this.cell = BI.createWidget(BI.extend({ type: "bi.label" }, o.cell, { - cls: (o.cell.cls || "") + "collection-table-cell-wrapper", + cls: (o.cell.cls || "") + " collection-table-cell-wrapper", width: o.width - (o._left === 0 ? 1 : 0) - 1, height: o.height - (o._top === 0 ? 1 : 0) - 1 })); diff --git a/bi/widget.js b/bi/widget.js index ae412aba1..14511955e 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -5638,6 +5638,10 @@ BI.DownListCombo = BI.inherit(BI.Widget, { }); }, + hideView: function () { + this.downlistcombo.hideView(); + }, + populate: function (items) { this.popupview.populate(items); }, diff --git a/docs/base.js b/docs/base.js index f93fa5363..b92b70061 100644 --- a/docs/base.js +++ b/docs/base.js @@ -28841,7 +28841,7 @@ BI.CollectionTableCell = BI.inherit(BI.Widget, { this.cell = BI.createWidget(BI.extend({ type: "bi.label" }, o.cell, { - cls: (o.cell.cls || "") + "collection-table-cell-wrapper", + cls: (o.cell.cls || "") + " collection-table-cell-wrapper", width: o.width - (o._left === 0 ? 1 : 0) - 1, height: o.height - (o._top === 0 ? 1 : 0) - 1 })); diff --git a/docs/widget.js b/docs/widget.js index ae412aba1..14511955e 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -5638,6 +5638,10 @@ BI.DownListCombo = BI.inherit(BI.Widget, { }); }, + hideView: function () { + this.downlistcombo.hideView(); + }, + populate: function (items) { this.popupview.populate(items); }, diff --git a/src/base/table/table.collection.cell.js b/src/base/table/table.collection.cell.js index 7a1ebae85..5c5105399 100644 --- a/src/base/table/table.collection.cell.js +++ b/src/base/table/table.collection.cell.js @@ -24,7 +24,7 @@ BI.CollectionTableCell = BI.inherit(BI.Widget, { this.cell = BI.createWidget(BI.extend({ type: "bi.label" }, o.cell, { - cls: (o.cell.cls || "") + "collection-table-cell-wrapper", + cls: (o.cell.cls || "") + " collection-table-cell-wrapper", width: o.width - (o._left === 0 ? 1 : 0) - 1, height: o.height - (o._top === 0 ? 1 : 0) - 1 })); diff --git a/src/widget/downlist/combo.downlist.js b/src/widget/downlist/combo.downlist.js index ed37eb40c..2481a8ba7 100644 --- a/src/widget/downlist/combo.downlist.js +++ b/src/widget/downlist/combo.downlist.js @@ -56,6 +56,10 @@ BI.DownListCombo = BI.inherit(BI.Widget, { }); }, + hideView: function () { + this.downlistcombo.hideView(); + }, + populate: function (items) { this.popupview.populate(items); },