The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a requirement to move the cursor to the next cell in the right hand side when the enter key is pressed. Is there a way to do it in the grid batch edit mode?
PSPavithra Subramaniyam Syncfusion Team December 30, 2022 05:58 AM UTC
Hi kalum,
Thanks for contacting Syncfusion support.
You can achieve your requirement by canceling the default Enter action
inside the “keyPressed” event and editing the next cell using “editCell”
method. Please refer to the below code example and API link for more information.
function keyPressed(args) {
if (args.key == 'Enter' && grid.isEdit) {
var td = ej.grids.parentsUntil(args.target, 'e-rowcell');
var index = parseInt(td.getAttribute('data-colindex'));
var curRowIndex = parseInt(td.getAttribute('index'));
In the Options window select Advanced. Under the Editing options uncheck the After pressing Enter, move the selection box if you want the active cell cursor not to move after pressing enter. Select a direction if you want the active cell cursor to move a direction other than Down after pressing enter.