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!

How to use Enter Key Instead of Tab Key in IG

Gul RahmanJun 6 2020 — edited Jun 6 2020

How to use Enter key instead of tab key in Interactive grid using Oracle APEX 20.1   As I am using the given below code For Forms.

$('body').on('keydown', 'input, select, textarea', function(e) {

    var self = $(this)

      , form = self.parents('form:eq(0)')

      , focusable

      , next

      ;

    if (e.keyCode == 13) {

        focusable = form.find('input,select,textarea,tabindex').filter(':visible');

        next = focusable.eq(focusable.index(this)+1);

        if (next.length) {

            next.focus();

        } else {

            form.submit();

        }

        return false;

    }

});

Now I want to use it in Interactive grid

Comments
Post Details
Added on Jun 6 2020
2 comments
1,280 views