Login Register

Calendar widget can be made better

Hello,

Here are few suggestions to make the calendar widget more better.

I found it is little annoying to select an year by clicking. I guess it is taking the current date by default. But if I want to select an year e.g 1985, I have to keep clicking on the year till I reach 1985. For this you can keep a combo box with the year numbers and that I think would be easier to pick. Also you could allow to change the year by manually typing it.

Also, coming to the month selector, it is again the same case.... you have to keep clicking until you get the deserved month. In stead, there could be a combo box to select it faster or allow user to enter the month number and let it change itself to the name of the month.

Anyway, these are few suggestions from an end-user perspective.

Thanks,
Uresh :-)

technically...

Technically, you can just hold down the mouse button over the previous or next year (ie, 2006 or 2008) and it will "scroll" through the years just like if you pressed the down arrow at the bottom of a scrollbar.

But I can see how that might not be obvious...

dojox.widget.Calendar mixins

Even so, the current calendar design is not ever going to be convenient for, say, someone picking birthdays several decades in the past. It's optimized for current events. Both seem to be valid designs. A month drop-down has also been a feature we've heard requested a lot, though a widget without popups may be appealing to some.

So the plan is to build a bunch of independent mixins in the dojox subproject which would enhance dijit._Calendar with features like this which the user can pick and choose from. I think popup month and year selectors would be fantastic. Shane checked in some other Calendar features which should ultimately be refactored in this manner.

I don't know if you seen the

I don't know if you seen the date picker in Ext JS. They have a drop down arrow next to month that replaces the date picker space with screen that has months on left side and year on right side (4 years previous, 5 years future to current year; With back and foward buttons to select the previous/next 10 years from the currently shown ones). It makes it a lot faster to select previous/future months/years.

Also are this dojox Calendar stuff available yet?