gwt - How to populate combobox using database -


i want put items in gwt combobox using database. please provide me suggestion item of gwt-combobox using database.

well, question doesn't have detail, it's hard know information you're seeking.

that said, you're going want create gwt service method getcomboboxdata(). (alternatively, if have gwt service, can add new method it.) in implementation of method (that is, on server side) query database information want put in combo box. information should them returned getcomboboxdata() method. then, in onsuccess() method of callback used when calling getcomboboxdata(), take data out of onsuccess() method parameter, contain data returned in getcomboboxdata(), , add combobox additem() method. btw, gwt class want use combo box listbox.

i highly recommend read documentation gwt provides, can find here. luck.


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 -