showCalendar

shows the calendar according to the year and month set in the specified date

void showCalendar(string|Date date);
datestring|Datea Date object or a string representing a date

Example

webix.ui({
    view:"calendar",
    id:"calendar1"
});
 
$$('calendar1').showCalendar(new Date(2011,5,13));

Details

Note that the method doesn't select the specified date, so specifying the day is optional.

See also
  • Articles
  • Back to top