@ -334,6 +334,10 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
});
},
getSearcher: function () {
return this.trigger.getSearcher();
getValue: function () {
return BI.deepClone(this.storeValue.value);
@ -331,6 +331,10 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
this.combo.hideView();
showView: function () {
this.combo.showView();
@ -363,6 +363,10 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
setValue: function (v) {
this.storeValue.value = v || [];
this.combo.setValue({
@ -51,6 +51,10 @@ BI.SingleTreeTrigger = BI.inherit(BI.Trigger, {
return this.options.value || [];
getLabel: function () {
return this.trigger.getLabel();
populate: function (items) {
this.trigger.populate(items);
}
@ -1,4 +1,5 @@
import { Single } from "../../base/single/single";
import { Trigger } from "../../base/single/trigger/trigger";
export declare class MultiTreeCombo extends Single {
static xtype: string;
@ -12,4 +13,6 @@ export declare class MultiTreeCombo extends Single {
showView(): void;
hideView(): void;
getSearcher(): Trigger;
import { TreeValue } from "../../base/tree/ztree/treeview";
export declare class MultiTreeInsertCombo extends Single {
@ -20,4 +21,6 @@ export declare class MultiTreeInsertCombo extends Single {
getValue(): TreeValue;
populate(): void;
export declare class MultiTreeListCombo extends Single {
@ -19,4 +20,6 @@ export declare class MultiTreeListCombo extends Single {
getValue(): string[];