Point 1 you can use showRangeHandler:
getMyDatePicker().addShowRangeHandlerAndFire(...); Then there you can enable disable dates. @Override public void onShowRange(ShowRangeEvent<Date> event) { Ranges rangos = buildRanges(event.getStart(), event.getEnd()); //here you have start/end dates. datePicker.setTransientEnabledOnDates(true, rangos.getValidDates()); datePicker.setTransientEnabledOnDates(false, rangos.getInValidDates()); } Juan 2011/11/16 Deepak Singh <deepaksingh...@gmail.com> > Any help on this pls... > > On Wed, Nov 16, 2011 at 12:42 AM, Deepak Singh > <deepaksingh...@gmail.com>wrote: > >> Hi, >> >> I am using gwt Datebox widget. >> >> By default it shows the current month calender in datepicker. >> Now i need to customise it in two ways, >> >> 1) Date values before current date(i.e. date in past) should appear >> disabled in datepicker and user should not be able to select date in past. >> 2) I need to show current month + next month calander together in >> datepicker pop up. >> >> Can you guide me how can i achieve this. >> >> -- >> Thanks >> Deepak Singh >> > > > > -- > Deepak Singh > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.