這個下拉樹在使用的時候滾動條不出現,原來只要在,代碼中加入個this
height:0,
var me = this, picker = new Ext.tree.Panel({ shrinkWrapDock: 2, store: me.store, floating: true, displayField: me.displayField, columns: me.columns, minHeight: me.minPickerHeight, maxHeight: me.maxPickerHeight, height:0, rootVisible: me.rootVisible, manageHeight: false, listeners: { scope: me, itemclick: me.onItemClick }, viewConfig: { listeners: { scope: me, render: me.onViewRender } } }),