Wednesday, September 18, 2013

Re: DateBox with months and years only ?

Hi,

thanks.
It is not the DateBox widget that i want to customize but the DatePicker widget.
I want the user to be able to pick a month of a year, not a day of a month of a year.
In fact, i want exactly this :
http://lucianocosta.info/jquery.mtz.monthpicker/

Any clue ?


On Tuesday, September 17, 2013 10:18:53 PM UTC+2, jaga wrote:
The main ingredient will be a DateTimeFormat.

http://www.gwtproject.org/javadoc/latest/com/google/gwt/i18n/client/DateTimeFormat.html

Initialise your datebox with a correctly configured DateTimeFormat.

Create a uibinder class using gwt eclipse plugin. Add a date box to it. Use provided=true to allow you to initialise it manually.

--
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/groups/opt_out.

No comments:

Post a Comment