jQuery DataTables Search on mouseclick
jQuery DataTables Search on mouseclick
SKR
Posts: 13Questions: 0Answers: 0
Hi Allan,
I am working on jQuery Datatables. I have implemented predictive search functionality for the Search textbox such that as the user begins typing into it, a dropdown list of 10 most recent items/strings that were searched is displayed. Now the issue here is that if I select any of the list items using keyboard the filtering takes place instantly i.e. on every keypress whereas when I select a list item with a mouse-click it doesnt filter the table. I have to hit enter in order to filter the table. I want to be able to filter the table on keypress as well as mouseclick. How can this be implemented in datatables? Any suggestions would be of great help!
I am working on jQuery Datatables. I have implemented predictive search functionality for the Search textbox such that as the user begins typing into it, a dropdown list of 10 most recent items/strings that were searched is displayed. Now the issue here is that if I select any of the list items using keyboard the filtering takes place instantly i.e. on every keypress whereas when I select a list item with a mouse-click it doesnt filter the table. I have to hit enter in order to filter the table. I want to be able to filter the table on keypress as well as mouseclick. How can this be implemented in datatables? Any suggestions would be of great help!
This discussion has been closed.
Replies
Allan