keys
Description
Defines the hot keys for the Gantt chart
keys: GanttHotkeys
Example
gantt.keys.edit_save = 32;
gantt.init("gantt_here");
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 'number' data type.