Wednesday, September 3, 2014

Re: ListBox vs ValueListBox



On Wednesday, September 3, 2014 6:03:58 AM UTC+2, Mohammed Sameen wrote:
Hi,
  Can anyone Explain me the difference between ListBox vs ValueListBox? When to use ValueListBox?Thanks in Advance..

ValueListBox uses "data binding"; you have a set of available values (of any type) and a selected value.
ListBox is only about Strings: you have a set of options, each with a label and optional (String) value, and a selected index (and you later ask the ListBox for the value at that particular index).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment