Keti777 / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
1 stars 0 forks source link

Very slow on large lists #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a dropdownlist with more than 400 items
2. load the page, loading time around 10s
3. reduce to 40 items, loading time now around 1s

What is the expected output? What do you see instead?
Faster loading times on large inputs

What version of the product are you using? On what operating system?
the latest version, Tested it with FireFox 3.5

Please provide any additional information below.
IN WORDS: large lists are very slow.

Original issue reported on code.google.com by wallen...@gmail.com on 31 Oct 2009 at 3:35

GoogleCodeExporter commented 8 years ago
The plugin is not speed optimized as it uses DOM functions to add elements to 
the 
document. Speed for large number of items was not a design objective of this 
plugin; I 
believe the dropdown approach is not the best - from a user interface point of 
view - 
for large number of items; if you have so many items you should consider other 
types of 
controls.

Original comment by adrian.tosca on 1 Nov 2009 at 7:53

GoogleCodeExporter commented 8 years ago
any ideas what to use instead for large lists?

Original comment by wallen...@gmail.com on 17 Nov 2009 at 12:28

GoogleCodeExporter commented 8 years ago
For very large number of items it becomes difficult to see what is really 
selected 
especially when there are few items actually selected. In this case two lists 
side by 
side with the possibility to move items from one to another is a much better 
approach. 
For more complex scenarios you can also add search into the lists.

Original comment by adrian.tosca on 17 Nov 2009 at 1:25

GoogleCodeExporter commented 8 years ago

Original comment by adrian.tosca on 25 Nov 2009 at 11:04

GoogleCodeExporter commented 8 years ago
jospape was so kind to send me a modification he did on the plugin that 
collapse the 
option groups, thus improving the performance. It is not suitable for every 
situation 
but might help in some. The file containing the modified plugin version 0.7 is 
attached.

Original comment by adrian.tosca on 26 Nov 2009 at 3:54

Attachments: