amplesdk icon indicating copy to clipboard operation
amplesdk copied to clipboard

xul:listbox performance

Open r-moeritz opened this issue 14 years ago • 1 comments

xul:listbox is a useful control but performance is disastrous when loading large numbers of records (>3000 in my case). The browser becomes unresponsive when attempting to scroll the listbox or sort a column. I have had to switch to jqGrid for better performance.

r-moeritz avatar Oct 04 '10 07:10 r-moeritz

True, it would not perform well with such amounts of data. My personal take on that: I think it doesn't make sense to try and draw 3000 records because only 20-50 can be viewed by user and the reset would anyway go off-screen (Also, what if you had 300000 records - would you try to draw all of them too? Even pure HTML would not be able to do, but this is again useless - noone is interested in viewing this amount). So either have pagination for huge amounts of data or request for "live" scrolling - yes, this is a nice option!

ilinsky avatar Oct 05 '10 11:10 ilinsky