How to set search type 'contains'

QuestionsHow to set search type 'contains'
Speedy asked 7 years ago

Hi, currently default search type is 'bw'. How can I change it to 'cn'? I'm talking about simple search using field above column. I was not able to find this in documentation.

Thank you.

1 Answers
Abu Ghufran answered 7 years ago

If you are using free version, it is little hard to change as code is obfuscated.
search for code…

.jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false});

and change it with

.jqGrid('filterToolbar',{stringResult: true,searchOnEnter : false, defaultSearch:'cn'});

Your Answer

7 + 19 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!