Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Navigating in Interactive Grid using Arrow Keys (Edit Mode)

Roxy rollersSep 24 2020

Hello folks,

   I am trying to navigate the Interactive Grid by using Arrow Keys to go to the Next and Previous record within the Grid in Edit Mode. As we know, if you press Enter, it takes you to the next record and Shift-Enter takes you to the previous record. I was able to simulate going to the next record but not the previous record. Here is my code to go to next record. Any idea of how to simulate the Shift-Enter? There is no one key for that as it's a combination of 13 (Enter) and Shift (16).

$("#source").keydown(function(e) {

  if (e.key === 'ArrowDown') {

    e.preventDefault();

    var e = jQuery.Event("keydown");

    e.which = 13

    $('#source').trigger(e);

  }

});

Any help in this regard would be great.

Thanks!

Comments
Post Details
Added on Sep 24 2020
0 comments
797 views