Pressing search button in jqgrid toolbar opens advanced search window.
Pressing enter key does not start seach. To start search, search button needs to be clicked.
How to allow enter key press to start search like in clicking in search button ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To implement search on Enter key one have to implement binding to
keydownevent to any input fields and force searching on Enter. If you include jQuery UIjquery-ui.min.jsthen you can use$.ui.keyCode.ENTERinstead of 13 for the better readability of the code.The code can be like
The demo demonstrate the code live.