tbarstow
04-23-2007, 03:19 PM
Hi,
ComboBox rocks, but I'm having a funny little problem that affects all browsers I've tested (Firefox latest, Safari, IE6 on WinXP). The first time I expand the ComboBox, it has no height restriction. Every subsequent time I expand it, however, it does have the expected restriction. This is true whether I pass maxHeight or accept the default.
Here's my code:
new Ext.form.ComboBox({
store: myDataStore,
displayField: 'label',
valueField: 'id',
maxHeight: 200,
forceSelection: true,
editable: false
});
Then I'm adding the ComboBox to a toolbar by passing it to the Toolbar constructor.
Any ideas?
Thanks
ComboBox rocks, but I'm having a funny little problem that affects all browsers I've tested (Firefox latest, Safari, IE6 on WinXP). The first time I expand the ComboBox, it has no height restriction. Every subsequent time I expand it, however, it does have the expected restriction. This is true whether I pass maxHeight or accept the default.
Here's my code:
new Ext.form.ComboBox({
store: myDataStore,
displayField: 'label',
valueField: 'id',
maxHeight: 200,
forceSelection: true,
editable: false
});
Then I'm adding the ComboBox to a toolbar by passing it to the Toolbar constructor.
Any ideas?
Thanks