diff --git a/src/widget/multitree/multi.tree.combo.js b/src/widget/multitree/multi.tree.combo.js index a3e4ef69ee..32e26146da 100644 --- a/src/widget/multitree/multi.tree.combo.js +++ b/src/widget/multitree/multi.tree.combo.js @@ -334,6 +334,10 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, { }); }, + getSearcher: function () { + return this.trigger.getSearcher(); + }, + getValue: function () { return BI.deepClone(this.storeValue.value); }, diff --git a/src/widget/multitree/multi.tree.insert.combo.js b/src/widget/multitree/multi.tree.insert.combo.js index 51456715a2..bdaa8a9642 100644 --- a/src/widget/multitree/multi.tree.insert.combo.js +++ b/src/widget/multitree/multi.tree.insert.combo.js @@ -331,6 +331,10 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, { this.combo.hideView(); }, + getSearcher: function () { + return this.trigger.getSearcher(); + }, + showView: function () { this.combo.showView(); }, diff --git a/src/widget/multitree/multi.tree.list.combo.js b/src/widget/multitree/multi.tree.list.combo.js index 2434c16ad5..4deeeba829 100644 --- a/src/widget/multitree/multi.tree.list.combo.js +++ b/src/widget/multitree/multi.tree.list.combo.js @@ -363,6 +363,10 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, { this.combo.hideView(); }, + getSearcher: function () { + return this.trigger.getSearcher(); + }, + setValue: function (v) { this.storeValue.value = v || []; this.combo.setValue({ diff --git a/src/widget/singletree/singletree.trigger.js b/src/widget/singletree/singletree.trigger.js index 4168365f59..56f5e26870 100644 --- a/src/widget/singletree/singletree.trigger.js +++ b/src/widget/singletree/singletree.trigger.js @@ -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); } diff --git a/typescript/widget/multitree/multi.tree.combo.ts b/typescript/widget/multitree/multi.tree.combo.ts index 461d3d8226..e69aa4c7ab 100644 --- a/typescript/widget/multitree/multi.tree.combo.ts +++ b/typescript/widget/multitree/multi.tree.combo.ts @@ -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; } diff --git a/typescript/widget/multitree/multi.tree.insert.combo.ts b/typescript/widget/multitree/multi.tree.insert.combo.ts index 005f05ae0d..7baac72f6e 100644 --- a/typescript/widget/multitree/multi.tree.insert.combo.ts +++ b/typescript/widget/multitree/multi.tree.insert.combo.ts @@ -1,4 +1,5 @@ import { Single } from "../../base/single/single"; +import { Trigger } from "../../base/single/trigger/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; + + getSearcher(): Trigger; } diff --git a/typescript/widget/multitree/multi.tree.list.combo.ts b/typescript/widget/multitree/multi.tree.list.combo.ts index 97d3020ab3..67fa3fcb54 100644 --- a/typescript/widget/multitree/multi.tree.list.combo.ts +++ b/typescript/widget/multitree/multi.tree.list.combo.ts @@ -1,4 +1,5 @@ import { Single } from "../../base/single/single"; +import { Trigger } from "../../base/single/trigger/trigger"; export declare class MultiTreeListCombo extends Single { static xtype: string; @@ -19,4 +20,6 @@ export declare class MultiTreeListCombo extends Single { getValue(): string[]; populate(): void; + + getSearcher(): Trigger; }