Dear All,
I have modified the Add/Edit form of Task. I have put some validations in this form. If user enters a wrong value, alert will be shown to it. I want to override/Disable the Default Enter Key event of Add/Edit Task. Please help me.
Dear All,
I have modified the Add/Edit form of Task. I have put some validations in this form. If user enters a wrong value, alert will be shown to it. I want to override/Disable the Default Enter Key event of Add/Edit Task. Please help me.
You can disable it by using
gantt.keys.edit_save = -1;
As for overriding, you can’t attach a custom reaction on Enter key, but you can use onLightboxSave event which triggered for all data saving actions ( save button pressing and Enter key )