Calendar

Overview

CALENDAR is a component that presents a normal calendar. UI-related CALENDAR inherits from view.


Related sample: 11_others/03_calendar.html

Initialization

The following is an example of initialization with the commonly used parameters (to see a full list of CALENDAR's parameters, please refer to the corresponding chapter of the manual):

dhx.ui({ view:"calendar", 
         id:"my_calendar",
         date: new Date(2010, 0, 1), 
         weekHeader: true, 
         calendar_date_format: "%Y-%m-%d", 
         weekNumber: true
});

Specify id if you're going to refer to CALENDAR later.

API Reference

Related Articles

A full list of articles.

To use ui functionality, touchui.css and touchui.js files must be included.