Punky
Punky

Reputation: 95

Displaying two months on calendar at a time

How can I display two months side by side in my calendar using DateBox or DatePicker in GWT?

Upvotes: 1

Views: 362

Answers (1)

Andrei Volgin
Andrei Volgin

Reputation: 41089

You can set two DatePicker widgets side by side in a panel and synchronize their changes (i.e. when one is moved a month forward, the other moves a month forward too). I am afraid it would look very confusing to your users because each DatePicker is still going to have its own controls.

The only other option is to build this widget from scratch as a new Composite widget.

Upvotes: 1

Related Questions