StackOverFlow
StackOverFlow

Reputation: 4614

GWT Celltable : Custom DatePickerCell

I want to use customDatePickerCell in CellTable.

Current GWT2.3 Datepicker cell is as follows

GWT DatePickerCell

I am using GWT 2.3. DatePicker cell showing Navigation only for month not for year also there is no seprate navigation for month and Year.

Is there any way to create CustomDatePickercell as follows or close to this

Custom DatePickerCell

  1. Separate navigation for year and month
  2. Sequence of days like S M T W T F S

Any one developed such datepicker cell. if yes then share sample code else provide hint for the same.

Any help or guidance in this matter would be appreciated

Upvotes: 1

Views: 923

Answers (1)

Thomas Broyer
Thomas Broyer

Reputation: 64541

I'll copy/paste here the answer I made on the GWT Google Group:

I haven't tried it but theoretically you should be able to implement your own MonthSelector with separate navigation for month and year.

As for the first day of week, it depends on the locale (see CalendarUtil#getStartingDayOfWeek() and DateTimeFormatInfo#firstDayOfTheWeek())

Upvotes: 2

Related Questions