Data Model[Sample|Source|Documentation] DayWeekMonthList Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 29Tuesday, April 292025 titleall-dayall-day events12 AM1 AM2 AM3 AM4 AM5 AM6 AM7 AM8 AM9 AM10 AM11 AM12 PM1 PM2 PM3 PM4 PM5 PM6 PM7 PM8 PM9 PM10 PM11 PMCreating calendar...todayleftMarApr1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 MayrightUnable to add calendar 'John's Home': Error: cannot call methods on button prior to initialization; attempted to call method 'option' Settings Events Add event using dialog Add event without dialog Delete all events for the active day (without confirmation) Calendars John's WorkJohn's Home Edit Delete Add calendar Description The sample demonstrates how to edit events using client side script. Options used in the sample: calendars - available calendar objects array. This option is read-only. selectedDate - the selected date. visibleCalendars - array of the calendar names which need to be shown. Default values are "Default", "Home" and "Work". Client side methods used in the sample: getOccurrences - Retrieves the array which contains the full list of Event objects in the specified time interval. Note, this method will create instances of the Event object for recurring events. addEvent - add new event to a data source. deleteEvent - delete event from the data source. deleteCalendar - delete existent calendar from the data source. showEditEventDialog - call this method in order to display built-in "edit event" dialog. showEditCalendarDialog - call this method in order to display built-in "edit calendar" dialog.