Hi Mark,
Thanks for contacting Syncfusion support.
You can prevent the form submission on enter the key inside the “actionComplete”
event with “beginEdit” request type. Please refer to the below code
example, API, and sample link for more information.
|
actionComplete: (args) => {
if (args.requestType == 'beginEdit') {
args.form.addEventListener('keydown', function (e) {
if (e.key === 'Enter') {
e.stopPropagation();
}
});
}
},
|
API : https://ej2.syncfusion.com/javascript/documentation/api/grid/#actioncomplete
Sample : https://stackblitz.com/edit/p8fpxi?file=index.js
Please get back to us if you need further assistance on this.
Regards,
Pavithra S