Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#7987 closed enhancement (fixed)

Calendar: Support Selection of Distant Months — at Version 22

Reported by: David Schwartz Owned by: Adam Peller
Priority: high Milestone: 1.4
Component: Dijit Version: 1.2.0
Keywords: ibm date distant-values Cc: Josh Trutwin
Blocked By: Blocking:

Description (last modified by Adam Peller)

The nature of the target date will vary with task. The current Calendar supports the selection of proximate months and years. Some tasks involve the selection of distant months and years. Completing these types of tasks with the current widget would be very cumbersome.

Provide the option to include distant month (1) and year (2) controls.



Selecting the distant month control would result in the display of a list of all twelve months like in the following image.



Selecting the distant year control would result in the display of an optionally scrollable list of years.

Change History (25)

Changed 14 years ago by David Schwartz

Changed 14 years ago by David Schwartz

comment:1 Changed 14 years ago by Adam Peller

see also #6297

comment:2 Changed 14 years ago by bill

Component: Dijit - LnFDojoX Form
Milestone: tbdfuture
Owner: set to dante
Type: defecttask

I'd like to see the implemented somewhere too, as it something I commonly see on sites. But marking as "future" until we get a volunteer to implement it.

Note that there is a calendar class that does some of this in http://download.dojotoolkit.org/release-1.2.1/dojo-release-1.2.1/dojox/widget/tests/test_Calendar.html although it's a rather unorthodox UI.

As for location though this should probably go into DojoX Form.

comment:3 Changed 13 years ago by dante

Owner: changed from dante to Nathan Toone

nathan toone is the master of all that is dojox.form

comment:4 Changed 13 years ago by Adam Peller

ideally, this should be a mixin on dijit._Calendar provided in DojoX.

comment:5 Changed 13 years ago by Nathan Toone

Resolution: fixed
Status: newclosed

This functionality is now provided by dojox.widget.Calendar (and as a textbox in dojox.form.DateTextBox?)

comment:6 Changed 13 years ago by Nathan Toone

Milestone: future1.4

comment:7 Changed 13 years ago by Adam Peller

Component: DojoX FormDijit
Resolution: fixed
Status: closedreopened

comment:8 Changed 13 years ago by Adam Peller

Owner: changed from Nathan Toone to Adam Peller
Status: reopenednew

Add month dropdown to dijit._Calendar

year should really be a separate ticket. See also #6570.

Changed 13 years ago by Adam Peller

Attachment: calendar-ddl.patch added

First stab at month dropdown list

comment:9 Changed 13 years ago by Adam Peller

(In [18748]) Implement month drop-down. Refs #7987 !strict

comment:10 Changed 13 years ago by Adam Peller

Type: taskenhancement

comment:11 Changed 13 years ago by Adam Peller

(In [18750]) position popup on mousedown only. Refs #7987 !strict

comment:12 Changed 13 years ago by Adam Peller

(In [18753]) some cleanup suggested by Bill refs #7987 !strict

comment:13 Changed 13 years ago by Adam Peller

(In [18758]) one more time: fix connect. refs #7987 !strict

comment:14 Changed 13 years ago by Adam Peller

(In [18841]) Add extra div around month dropdown with relative positioning for proper positioning in popups. Still off by a few pixels. Refs #7987 !strict

comment:15 Changed 13 years ago by bill

Starting with [18748] dijit/tests/form/robot/DateTextBox.html is failing.

Rollback util/doh directory to [18628] to test what broke in dijit, since DOH changes [18737] and [18819] are also causing problems.

comment:16 Changed 13 years ago by Adam Peller

(In [18948]) Add month dropdown robot test. Refs #7987

comment:17 Changed 13 years ago by Adam Peller

(In [19068]) Kludge IE8 quirks mode, too. dropdown still does not work in IE6. Refs #7987 !strict

comment:18 Changed 13 years ago by Adam Peller

(In [19111]) Redo [19068]: dropdown placement kludge for IE only: quirks mode and IE6. Refs #7987 !strict

comment:19 Changed 13 years ago by Josh Trutwin

please add trutwijd to CC - thanks!

comment:20 Changed 13 years ago by Nathan Toone

Cc: Josh Trutwin added

comment:21 Changed 13 years ago by Adam Peller

(In [20044]) reduce a bit of css. Refs #7987

comment:22 Changed 13 years ago by Adam Peller

Description: modified (diff)
Resolution: fixed
Status: newclosed
Summary: DateTextBox: Support Selection of Distant Months/YearsCalendar: Support Selection of Distant Months

Two issues here. Distant year selection logged as separate ticket: #10002

Note: See TracTickets for help on using tickets.