function UltraWebGrid1_EditKeyDownHandler(gridName, cellId, key){// enterkey press ---> nextcell
if (event.keyCode == 13) { event.returnValue = false; var grid = igtbl_getGridById( gridName ); var ac = igtbl_getRowById ( cellId ); cell.endEdit(true); var nextCell = cell.getNextCell(); if( nextCell != null ) { alert('enterkey'); nextCell.activate(); nextCell.beginEdit(); } return false; } return true;
------------------------------------------------------------------------------------------------------------------------
execute code ---> but enter press ---> don't move to nextcell ..
help me plz... thank you
Thank you! but i can't do it. EditMode --> enter key .. why sumbit?
SetTimeOut() function ====> Next Cell !
my code problem solving ! here code :)
window.setTimeout(function() {SelectNext(cell ,nextSelCell);},500);
Thank you ^^
Cancelling the browser event at this point won't really do anything, since the Grid has already determined that an EditKey press has occured. You instead want to cancel the grid's processing of the event, which is done by returning true from the handler. Try this instead:
if(event.keyCode==13){ event.cancel=true; var cell=igtbl_getCellById(cellId).getNextCell(); if(cell) { cell.activate(); cell.beginEdit(); }}