From a79c8a8ff7b071ac538195b76665d1d5ec66ff6b Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 20 May 2017 21:31:40 +0800 Subject: [PATCH] add --- bi/widget.js | 13 +++++++++++++ docs/widget.js | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/bi/widget.js b/bi/widget.js index a90a7500f..54d841215 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -11433,6 +11433,14 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, { }); }, + stopSearch: function () { + this.trigger.stopSearch(); + }, + + updateValue: function (v) { + this.adapter.updateValue(v); + }, + getValue: function () { return this.storeValue.value; }, @@ -11482,6 +11490,11 @@ BI.MultiSelectTreePopup = BI.inherit(BI.Widget, { this.popup.setValue(v.value); }, + updateValue: function (v) { + this.popup.updateValue(v); + this.popup.refresh(); + }, + populate: function (config) { this.popup.stroke(config); } diff --git a/docs/widget.js b/docs/widget.js index a90a7500f..54d841215 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -11433,6 +11433,14 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, { }); }, + stopSearch: function () { + this.trigger.stopSearch(); + }, + + updateValue: function (v) { + this.adapter.updateValue(v); + }, + getValue: function () { return this.storeValue.value; }, @@ -11482,6 +11490,11 @@ BI.MultiSelectTreePopup = BI.inherit(BI.Widget, { this.popup.setValue(v.value); }, + updateValue: function (v) { + this.popup.updateValue(v); + this.popup.refresh(); + }, + populate: function (config) { this.popup.stroke(config); }