Ticket #3111 (closed feature: fixed)

Opened 6 years ago

Last modified 6 years ago

Provide option to display double-arrows for navigation by (year) in ui.datepicker

Reported by: keith.hughitt@… Owned by: grabanski
Priority: major Milestone:
Component: ui.datepicker Version: 1.5.1
Keywords: datepicker Cc:
Blocking: Blocked by:

Description

Would it be possible to provide an option to display not only the single arrows, but also double-arrows in the datepicker to allow movement over larger time-steps (for example, by year). It is currently possible to set the time-step for the "<prev" and "next>" buttons to any arbitrary increments, but it would be nice to have more than one time-step available at a single click.

Thanks, Keith

Change History

comment:1 Changed 6 years ago by kbwood

  • Status changed from new to closed
  • Resolution set to fixed

Fixed. Set showBigPrevNext to true to display the additional links. Set prevBigText, prevBigStatus, nextBigText, and nextBigStatus to control the text displayed and their status bar entries. Set stepBigMonths to control the number of months to move when these links are clicked.

Note: See TracTickets for help on using tickets.