Calendar Control: Examples
The Calendar component is a UI control that enables users to choose one or more dates from a graphical calendar presented in a single-page or multi-page interface. Calendars are generated entirely via script and can be navigated without any page refreshes. They are also highly configurable, with the ability to customize the contents and look of rendered cells using custom renderer plugins.
- Quickstart Tutorial: Quickly get up and running with the most basic Calendar.
- Multi-Select Calendar: Set up a Calendar that allows for the selection of one or more dates, rather than the single-select default.
- Multi-Page Calendar: Setting up a CalendarGroup to display more than one month at a time.
- Minimum/Maximum Dates: Configure the Calendar to disallow selection before or beyond specified date limits.
- Calendar Navigator: Enable the Calendar Navigator, to allow the user to jump straight to a specific month/year
- Handling Calendar Events: Use Calendar's events to react to various interesting moments, such as the selection or deselection of dates.
- Calendar and Text Fields: Populate a form's text input field using the Calendar's selected date and vice versa.
- Calendar and Select Fields: Populate a series of form select input fields using the Calendar's selected date and vice versa.
- Using the Render Stack: Customize how specific dates or date ranges are rendered by plugging in custom renderers.
- Popup Calendar: Configure either Calendar or CalendarGroup for use as a popup layer that is displayed above the document.
- Localization - Germany: Use localization features to customize the Calendar for use in Germany.
- Localization - Japan: Use localization features to customize the CalendarGroup for use in Japan.
- Calendar inside a Container: This example wraps Calendar in a Dialog control to provide positioning, button and potentially dragdrop support
- Skinning The Calendar: YUI has a default skin for it's controls called "Sam Skin". This example shares the CSS rules which make up "Sam Skin" for the Calendar and CalendarGroup controls.