jQuery UI Widgets Forums Grid Filterrow, filter on enter possible?

This topic contains 2 replies, has 2 voices, and was last updated by  JuliusVanMil 7 years, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Filterrow, filter on enter possible? #91349

    JuliusVanMil
    Participant

    Hi,

    I have a question regarding the filter event.
    We are looking to support keyboard only navigation on our product.
    We have a grid on our page with virtual paging, filtering and sorting.
    At the moment when tabbing through the website and a grid with filterrow is present on the page, you will enter the filterrow when tabbing, this is correct. However, it is not possible to exit this row using only the keyboard, since a tab out of the first or last filter triggers the filter event and the focus will be reset to the filterbox.

    Is there anyway to overwrite the filter or catch the filter event so it will only fire when hitting the enter key? Or is there another way to solve this problem?

    Thanks in advance!
    Greetings,
    Julius van Mil

    Filterrow, filter on enter possible? #91350

    Peter Stoev
    Keymaster

    Hi Julius van Mil,

    Each Grid column has filterdelay property. Set it to a large number such as filterdelay: 99999 and you will apply filters only with “Enter” key.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Filterrow, filter on enter possible? #91352

    JuliusVanMil
    Participant

    Thanks Peter, this works quite well!
    I’ve set it even higher, so it will only jump back after 4,5 hours. I don’t think users will stay on a page that long without doing anything haha.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.