Discussion

Adding new row by hitting enter key in repeat row

We are implementing repeat row for a requirement,by hitting the enter key from first row it is adding new row(appending a row).can any one help me how to disable this shortcut key.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

October 17, 2012 - 4:29am

override captureEnterkey() javscript function to return false if enter key is pressed. 13 is keycode for enter key.

October 17, 2012 - 5:31am

It is know issue, use Repeating Grid instead of repeating layout

October 17, 2012 - 7:46am

quote:


Originally posted by SWAPNAB1

override captureEnterkey() javscript function to return false if enter key is pressed. 13 is keycode for enter key.

Thank you very much swapna.it is working[:)]

December 18, 2012 - 3:58am

Can you please sugest the JS file name which has captureEnterkey() function, we are facing the same issue in our project.

 

 

 

December 18, 2012 - 3:58am

Can you please sugest the JS file name which has captureEnterkey() function, we are facing the same issue in our project.

 

 

 

December 18, 2012 - 5:34am

note Uncheck the 'Allow Update'  on General Tab. then test it

- Arun

December 18, 2012 - 10:11am

Thanks Arun,

We have fixed this issue with 'Allow Update' option, just wanted to know about the JS fuction.

December 18, 2012 - 10:11am

Thanks Arun,

We have fixed this issue with 'Allow Update' option, just wanted to know about the JS fuction.

April 3, 2013 - 7:01am

Hi i have a similar issue as mentioned in this article but im using repeating grid instead of row repeat. still on hitting enter key its appending the row(Pagelist). I have to disable this action. My requirement is i have to use grid layout with editable fields in it and on hitting enter it should not append a row. Please help me on this. im working on PRPC 6.2. Thanks Naveen

April 5, 2013 - 6:24am

Hi Naveen,

 

No idea for repeating grid, i tried to check with JS file, but i couldn't got any clue.

July 2, 2013 - 2:46am

Hi,

 

I am working on PRPC 6.2 SP2. As per requirement, I've included a grid layout and upon hitting enter key I am able to add a new row. Now the requirement has changed and I've to disable the enter key after adding 20rows. Can some one help me in doing this.

September 10, 2015 - 5:51am

Hi, Where can i find captureEnterkey() function?