defines the hot keys for the Gantt chart
gantt.keys.edit_save = 32;
gantt.init("gantt_here");
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.