keys

defines the hot keys for the scheduler

object keys;

Example

scheduler.keys.edit_save = 32;
...
scheduler.init('scheduler_here',new Date(),"month");

Details

The keys object has the following properties:

Property Description Default value Applicable views
edit_save sets the number code of a keyboard key which can be used to confirm the edit operation (alternative to clicking the 'Save' button in the lightbox) 13 (the 'Enter' key) all views
edit_cancel sets the number code of a keyboard key which can be used to cancel the edit operation (alternative to clicking the 'Cancel' button in the lightbox) 27 (the 'Escape' key) all views

Note, all the keys' properties have the data type 'number'.

Back to top