Re: ListBox performance problem,with many items

2009-08-01 Thread Chi H
First of all, a listbox with 8000 typically is unlikely to be user friendly, perhaps you should be using a SuggestBox instead? However, if you really do want a listbox, you're on the right track in that using HTML is the only way to get reasonable performance with a large number of elements in IE

ListBox performance problem,with many items

2009-07-30 Thread Enea
Hi. I'm populating ListBox with 8000 items. ListBox lb=new ListBox(); for(int i=0;i<8000;i++) lb1.addItem(""+i); RootPanel.get().add(lb1); In my real project I have to add items from a big list of cities, but anyway. That takes 5 seconds on my developer machine, in hosted mode. In IE is a wa