PDA

View Full Version : ext1.1: large number of items in combobox adds blank space to bottom of page



vais
2 Aug 2007, 7:48 PM
Having a large number of items in combobox adds blank space to bottom of page, lots of blank space, depending on the number of items. Up to around 500 does not make a difference. 500+ starts to grow the page. When you click to open the combo, the extra blank space goes away. Happens both in IE and FF.

To reproduce this behavior, simply modify examples/form/combos.js as follows:


Ext.onReady(function(){
var a = new Array(900);
for (var i = 0; i < a.length; i++) a[i] = [i,i];
a = a.concat(Ext.exampledata.states)
// simple array store
var store = new Ext.data.SimpleStore({
fields: ['abbr', 'state'],
data : a
});
var combo = new Ext.form.ComboBox({
...


Is this a known bug/issue? I have not been able to find anything like this in the bugs forum. Please advise.

hpet
21 Mar 2008, 1:06 AM
You might have the same case as in this thread:
http://extjs.com/forum/showthread.php?t=7644&highlight=combobox+large