Browse Source

multiTree updateValue

es6
young 7 years ago
parent
commit
a0b32e433b
  1. 8
      src/widget/multiselecttree/multiselecttree.js
  2. 5
      src/widget/multiselecttree/multiselecttree.popup.js

8
src/widget/multiselecttree/multiselecttree.js

@ -142,6 +142,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;
},

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

@ -38,6 +38,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);
}

Loading…
Cancel
Save