ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: SureshB on February 22, 2016, 03:07:58 pm

Title: How to move the cursor to below cell when we press enter same as in Excel
Post by: SureshB on February 22, 2016, 03:07:58 pm
Hi sir,

How to move the cursor to the below cell when we press enter same as in Excel,  While inline editing instead of moving the cursor to next beside cell?

Thank you.

Title: Re: How to move the cursor to below cell when we press enter same as in Excel
Post by: paramvir on February 22, 2016, 09:21:01 pm
There is no direct option for it, however it can be done (as a workaround) by taking help of editorKeyDown event.

keyUpDown option should also be true.

Code: [Select]
editorKeyDown: function(evt, ui){
if(evt.keyCode == 13){ //enter key.
evt.originalEvent.keyCode = 40;//disguise down key.
}
},
Title: Re: How to move the cursor to below cell when we press enter same as in Excel
Post by: SureshB on February 22, 2016, 09:28:49 pm
Good idea.

Thank you very much for your great support all the time.