jquery - how to avoid repetition of data for a repeated dropdownlist input? -


i have webpage should relatively lightweight, problem i've got table editable user data on each line , data includes dropdownlist hundreds of options.

i've argued against use of values guess wasn't able come satisfying solution; ginormous dropdownlist stuck (we're talking 35kbytes of options per drop down list, here)

it doesn't mean data has got there each drop down list, though, , i've been looking ways manage without hassle. i've been considering:

  • filling selected drop down list data on click
  • creating empty drop down lists , 1 full drop down list swap selected 1 when applicable
  • forcing line editable after click on edit command. i'd avoid 1 since think should minimize number of clicks user
  • creating fillable field smaller drop down list attached. user either type word , select nearest match or directly select shorter list

i'm trying keep lists empty possible because table should wrapped eventual jquery plugin render sortable, , swapping 35k of data per line on each column click expensive.

do have recommendations regarding way avoid repetition of data? think should push cleanup of data? practice or pattern address specific problem? i'm considering answer here, don't hesitate suggest jquery plugin, or cache solution on client, or whatever may alleviate data bloat...


edit: autocomplete field answer, if 1 finds way in mouse-driven way, don't hesitate tell me

a perfect candidate autocomplete lookup.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -