Below code works for me on extjs3.3. can this help someone
var taxonomyTreePanel = new Ext.form.ComboBox({ id: 'taxTreePanel', store:new Ext.data.SimpleStore({fields:[],data:[[]]}), editable:false, //z-index: 7000, typeAhead:false,//done by siddhartha selectOnFocus:true, shadow:false, mode: 'local', triggerAction:'all', maxHeight: 200, width: 340, emptyText:"Select Resource Category", tpl: '<tpl for="."><div style="height:210px"><div id="taxonomyTreediv"></div></div></tpl>', selectedClass:'', forceSelection: true, onSelect:Ext.emptyFn, listeners: { afterrender: function (obj) { if(singleParamDynamicQuery &&docTypeCodeDynamciQuery.length>0){ obj.onTriggerClick(); } } }, onViewClick : function(doFocus){ //do nothing } });
source share