This is a migrated thread and some comments may be shown as answers.

Set Calendar's Dafault View to Year selection instead of days

3 Answers 58 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Manoj Sharma*
Top achievements
Rank 1
Manoj Sharma* asked on 19 Apr 2011, 11:54 AM
Hi,

When we click on calendar and day selection windows pops up, would it be possible to replace days selection with year selection first so that user can select year first then month then day? this will save them 'few' clicks for each date as my form captures a lot of future dates.

Instead of double clicking to move to month then double click again to move to year then reverse back, selection of year first improves usability.

Thanks in advance

 

3 Answers, 1 is accepted

Sort by
0
nachid
Top achievements
Rank 1
answered on 26 Apr 2011, 12:06 AM
You may need to catch the OnLoad event an hook this code

$('.t-calendar').data('tCalendar').goToView(1, new Date());

You can also move up to year view from day view by calling navigateUp
$('.t-calendar').data('tCalendar').navigateUp();
0
Greg
Top achievements
Rank 1
answered on 31 May 2011, 10:03 AM
this is the only solution?

For me on datepicker it`s not working
0
Manoj Sharma*
Top achievements
Rank 1
answered on 06 Jun 2011, 12:03 PM
Same here doesn't seem to be working, MVC 3 (Razor) Project
Tags
Calendar
Asked by
Manoj Sharma*
Top achievements
Rank 1
Answers by
nachid
Top achievements
Rank 1
Greg
Top achievements
Rank 1
Manoj Sharma*
Top achievements
Rank 1
Share this question
or