adds a new event
the event object
string
adds a new event and opens the lightbox to confirm
the event object
string
marks dates but with certain settings makes blocking (unlike blockTime() allows setting custom styling for the limit)
the configuration object of the timespan to mark/block
any
adds a section to the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
the object of the section to add
the id of the parent section. Pass 'null' if you are adding a section to the root
boolean
attaches the handler to an inner event of dhtmlxScheduler
the event name, case-insensitive
the handler function
string
makes the scheduler reflect all data changes in the Backbone model and vice versa
the Backbone data collection
any
blocks the specified date and applies the default 'dimmed' style to it.
a date to block ( if a number is provided, the parameter will be treated as a week day: '0' index refers to Sunday, '6' - to Saturday)
an array [start_minute,end_minute,..,start_minute_N,end_minute_N] where each pair sets a certain limit range. The array can have any number of such pairs
defines specific items of view(s) to block
any
calls an inner event
the event name, case-insensitive
an array of the event related data
boolean
changes the event id
the current event id
the new event id
any
checks whether the specified event occurs at the time that has been already occupied with another event(s)
the event object
boolean
checks whether an event has some handler(s) specified
the event name
boolean
checks whether an event resides in a specific timespan
the event object
the timespan type
boolean
checks whether the specified event takes place at the blocked time period
the event object
boolean
removes all events from the scheduler
any
closes all sections in the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
any
closes the specified section in the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
the section id
any
collapses the expanded scheduler back to the normal size
any
creates the Grid view in the scheduler
the configuration object of the Grid view
any
creates the Timeline view in the scheduler
the configuration object of the Timeline view
any
creates the Units view in the scheduler
the configuration object of the Units view
any
deletes all sections from the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
any
deletes the specified event
the event id
any
removes marking/blocking set by the addMarkedTimespan() and blockTime() methods
the timespan id
any
deletes a section from the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
the section id
boolean
destroys previously created mini-calendar
the mini-calendar's object (if not specified, the scheduler attempts to destroy the last created mini calendar)
any
detaches a handler from an event (which was attached before by the attachEvent method)
the event id
any
opens the inline editor to alter the event text (the editor in the event box)
the event id
any
closes the inline event edotor if it's currently open
the event id
any
closes the lightbox
if set to true, the changes made in the lightbox will be saved before closing. If - false, the changes will be cancelled.
the HTML container for the lightbox
any
expands the scheduler to the full screen view
any
gives access to the objects of lightbox's sections
the name of a lightbox section
any
returns the current cursor-pointed date and section (if defined)
a native event object
any
return the event object by its id
event_id
any
gets the event's end date
the event id
Date
gets the event's start date
the event id
Date
gets the event's text
the event id
string
returns a collection of events which occur during the specified period
the start date of the period
the end date of the period
any
gets the label of a select control in the lighbox
the name of a data property that the control is mapped to
the option id. This parameter is compared with the event data property to assign the select's option to an event
any
gets the lightbox's HTML object element
HTMLElement
returns all occurrences of a recurring event
the id of a recurring event
the maximum number of occurrences to return (by default, 100)
any
gets the object of the currently displayable event
the event id
HTMLElement
gets the object of the specified section in the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
the section id
any
gets the current state of the scheduler
any
gets the user data associated with the specified event
the event id
the user data name
any
hides the lightbox modal overlay that blocks interactions with the remaining screen
an element to hide
any
hides the pop-up event form (if it's currently active)
any
initializes an instance of dhtmlxScheduler
the id or object of the HTML container that the scheduler will be created inside
the initial date of the scheduler (by default, the current date)
the name of the initial view (by default, "week")
any
inverts the specified time zones
an array [start_minute,end_minute,..,start_minute_N,end_minute_N] where each pair sets a certain limit range (in minutes). The array can have any number of such pairs
any
checks whether the calendar is currently open in the scheduler
any
checks whether the specified event one-day or multi-day
the event object
boolean
'says' to change the active date in the mini calendar each time the active date in the scheduler is changed
the mini calendar object
a function that defines the difference between active dates in the mini-calendar and the scheduler. The function takes the scheduler's date as a parameter and returns the date that should be displayed in the mini calendar
any
loads data to the scheduler from an external data source
the server side url (may be a static file or a server side script which outputs data as XML)
('json', 'xml', 'ical') the data type. The default value - 'xml'
the callback function
any
applies a css class to the specified date
the calendar object
the date to mark
the name of a css class
any
marks and/or blocks date(s) by applying the default or a custom style to them. Marking is cancelled right after any internal update in the app. Can be used for highlighting
the configuration object of the timespan to mark/block
any
opens all sections in the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
any
opens the specified section in the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
the section id
any
loads data from a client-side resource
a string or object which represents data
('json', 'xml', 'ical') the data type. The default value - 'xml'
any
creates a mini calendar
the calendar configuration object
any
generates the HTML content for a custom event box
the event container
the event object
boolean
removes the current lightbox's HTML object element
any
scrolls the specified number of units in the Units view
the number of units to scroll (set the positive value to scroll units in the right direction, the negative value - in the left direction).
any
selects the specified event
the event id
any
returns a list of options
the name of a list
an array of options
any
displays the specified view and date
the date to display
the name of a view to display
any
adds a new event to the scheduler's data pool
the event id
the event object
any
sets the event's end date
the event id
the new end date of the event
any
set the event's start date
the event id
the new start date of the event
any
set the event's text
the event id
the new text of the event
any
forces the lightbox to resize
any
sets the mode that allows loading data by parts (enables the dynamic loading)
the loading mode
any
sets the user data associated with the specified event
the event id
the user data name
the user data value
any
shows the lightbox modal overlay that blocks interactions with the remaining screen
an element to hide
any
shows and highlights the specified event in the current or specified view
the event id
the view name
any
opens the lightbox for the specified event
the event id
any
displays the pop-up event form for the specified event
the event id
any
shows a custom lightbox in the specified HTML container centered on the screen
the event id
the lightbox's HTML container
any
convers scheduler's data to the ICal format
sets the value for the content header field
string
converts scheduler's data into the JSON format
string
exports the current view to a PDF document (can be used for printing)
the path to the server-side PDF converter
the color map of the resulting PDF document
any
exports several scheduler's views to a PDF document (can be used for printing)
the date to start export events from
the date to export events until
the name of a view that the export should be applied to
the path to the php file which generates a PDF file (details)
the color map in use
any
converts scheduler's data into the XML format
string
generates an unique ID (unique inside the current scheduler, not GUID)
any
removes blocking set by the blockTime() method
(Date, number,array, string) days that should be limited
the period in minutes that should be limited. Can be set to 'fullday' value to limit the entire day
allows blocking date(s) just for specific items of specific views. BTW, the specified date(s) will be blocked just in the related view(s)
any
removes a css class from the specified date
the mini calendar object
the date to unmark
the name of a css class to remove
any
removes marking/blocking set by the markTimespan() method
a timespan to remove marking/blocking from (or an array of timespans)
any
unselects the specified event
the event id (if not specified, the currently selected event will be unselected)
any
displays the specified date in the mini calendar
the mini calendar object
a new date to display in the mini calendar
any
updates tht specified collection with new options
the name of the collection to update
the new values of the collection
boolean
updates the specified event
the event id
any
displays the specified view and date (doesn't invokes any events)
the date to set
the view name
any