A.K
A.K

Reputation: 505

How to make jqGrid Search when enter key is pressed in the find dialog

I have followed the solution here but I have not been able to make it work. I'm using the free-jqGrid version 4.9.0. I don't get any JavaScript errors either. While debugging I see the control just passed over the click method call and nothing happens.

Would appreciate any help, Thanks

Upvotes: 0

Views: 1668

Answers (1)

Oleg
Oleg

Reputation: 221997

In case of usage free jqGrid 4.9 you need just specify searchOnEnter: true option. You can use searching option of jqGrid to specify searching option used for both searching dialog of searching toolbar. For example

searching: {
    closeAfterSearch: true,
    closeAfterReset: true,
    closeOnEscape: true,
    searchOnEnter: true,
    multipleSearch: true
}

See the wiki article.

Upvotes: 2

Related Questions