PDA

View Full Version : [FIXED]Combo Boxes



GodKnow
16 Feb 2011, 12:57 PM
Click the Combo box scroll bar, the list will be hidden.

tobiu
16 Feb 2011, 1:20 PM
in chrome this works fine, in firefox not.

also (and this seems related): when the mouse-pointer is over the list, the mousewheel works, if you use the wheel with the pointer above the scrollbar, the view hides. also ff only.


best regards
tobiu

mdavis6890
18 Feb 2011, 9:39 AM
I have the same combo used in two places.

This one works just fine:


this.tbar = [{
xtype: 'IDB.selectbox.Customer',
listeners : {
scope : this,
select : function(combo, data, tabpanel) {
//this.getServicesTab().setCustomer(record.get('customer_id'));
this.getItemsTab().setCustomer(data[0].get('customer_id'));
}
}
},{
fieldLabel: 'Datacenter',
xtype : 'IDB.selectbox.Site',
name : 'site_code',
itemId : 'siteCombo',
listeners : {
click : function() {
console.log(this);
}
}
}];



This one doesn't:


{
xtype : 'fieldset',
fieldLabel : 'test',
frame : true,
collapsible: true,
collapsed : false,
title : 'Location',
itemId : 'locationFieldset',
items : [{
fieldLabel: 'Datacenter',
xtype : 'IDB.selectbox.Site',
name : 'site_code',
itemId : 'siteCombo',
listeners : {
click : function() {
console.log(this);
}
}
}]
}

evant
7 Mar 2011, 3:24 AM
FYI:

http://www.sencha.com/forum/showthread.php?125987-FIXED-Combobox-Panels-Collapse-on-scroller-click-PR3