How to set search type 'contains'

QuestionsHow to set search type 'contains'
Speedy asked 12 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 12 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

18 + 7 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?