Browse Source

Merge pull request #54 in ~GUY/fineui from ~YOUNG/fineuig:master to master

* commit 'a0b32e433bca2a26754b1fef7d9f7c37a631ec6d':
  multiTree updateValue
master
Young 8 years ago
parent
commit
78493833c9
  1. 8
      src/widget/multiselecttree/multiselecttree.js
  2. 5
      src/widget/multiselecttree/multiselecttree.popup.js

8
src/widget/multiselecttree/multiselecttree.js

@ -136,6 +136,14 @@ BI.MultiSelectTree = BI.inherit(BI.Widget, {
}); });
}, },
stopSearch: function () {
this.trigger.stopSearch();
},
updateValue: function (v) {
this.adapter.updateValue(v);
},
getValue: function () { getValue: function () {
return this.storeValue.value; return this.storeValue.value;
}, },

5
src/widget/multiselecttree/multiselecttree.popup.js

@ -37,6 +37,11 @@ BI.MultiSelectTreePopup = BI.inherit(BI.Widget, {
this.popup.setValue(v.value); this.popup.setValue(v.value);
}, },
updateValue: function (v) {
this.popup.updateValue(v);
this.popup.refresh();
},
populate: function (config) { populate: function (config) {
this.popup.stroke(config); this.popup.stroke(config);
} }

Loading…
Cancel
Save