|
|
|
@ -15,6 +15,7 @@ export class TreeValueChooserPane extends AbstractTreeValueChooser {
|
|
|
|
|
items: null, |
|
|
|
|
itemsCreator: emptyFn, |
|
|
|
|
showLine: true, |
|
|
|
|
showIcon: false, |
|
|
|
|
//searcherPaneAutoShrink和searcherPaneIsSelectedAny同时为false时,返回值和非搜索状态下的树逻辑一致
|
|
|
|
|
searcherPaneAutoShrink: true,//其搜索树是否会判别子结点全选则取父结点的值
|
|
|
|
|
searcherPaneIsSelectedAny: true, //其搜索树是否返回所有被checked的结点(包括被checked的结点的子结点)
|
|
|
|
@ -28,6 +29,7 @@ export class TreeValueChooserPane extends AbstractTreeValueChooser {
|
|
|
|
|
type: o.hideSearch ? MultiSelectTreePopup.xtype : MultiSelectTree.xtype, |
|
|
|
|
element: this, |
|
|
|
|
showLine: o.showLine, |
|
|
|
|
showIcon: o.showIcon, |
|
|
|
|
searcherPaneIsSelectedAny: o.hideSearch || o.searcherPaneIsSelectedAny, |
|
|
|
|
itemsCreator: (options, callback) => { |
|
|
|
|
options.searcherPaneAutoShrink = o.hideSearch || o.searcherPaneAutoShrink; |
|
|
|
|