Disable Scroll To Next Row | Keytable stop scroll to next line | Stop scrolling to next row

Disable Scroll To Next Row | Keytable stop scroll to next line | Stop scrolling to next row

aungkoheinaungkohein Posts: 16Questions: 4Answers: 0

Hi!

I'm using Keytable for excel-like navigation. My user wants to stop scrolling to next row once he reached the end of each row.

Currently, it is having continuous scroll if you press the right arrow key.

How to disable that?

Thanks for the help!

Replies

  • colincolin Posts: 3,034Questions: 0Answers: 525

    Hi @aungkohein ,

    That's not possible I'm afraid, not without modifying the KeyTable JS yourself (one perk of open source s/w). You can create new behaviour for keys, see this thread here, but if the key is recognised and already handled by KeyTable, it won't trigger the event.

    Cheers,

    Colin

  • allanallan Posts: 48,452Questions: 1Answers: 7,015 Site admin

    This is the line of code to modify. Just make that if branch a noop and it will hold its current position at the end of the row.

    Allan

Sign In or Register to comment.