1rosehip / jplist

jPList jQuery Data Grid Controls is a flexible jQuery plugin for sorting, pagination and filtering of any HTML structure (DIVs, UL/LI, tables, etc).
http://jplist.com
Other
437 stars 177 forks source link

Using keyboard with dropdown lists #302

Closed spiffyjim closed 6 years ago

spiffyjim commented 6 years ago

I've noticed that the Bootstrap version of the dropdown lists (filters, pagination, etc.) can be triggered with the keyboard, but I'm having issues trying to get the same functionality from the non-Bootstrap version. Has anyone gotten this to work?

spiffyjim commented 6 years ago

If anyone is interested, I fixed this by editing the jplist.core.min.js and changing:

a.$control.find(".jplist-dd-panel").off().on("click",

to

a.$control.find(".jplist-dd-panel").off().on("click keypress",