Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Extending jqGrid to have a 'like' sopt

UserPost

23:46
10/04/2012


nhowerton

Member

posts 3

I am using jqGrid with the filter toolbar on a client project. However, the type of filter my client wants is the equivalent of a LIKE in SQL. I know that I can provide one 'sopt' option for each column and it will be used in the filter toolbar. The contains is almost exactly what I need. However, my client wants records that partially match the keyword provided to show up in the filtered results. 


Is there anyway to extend jqGrid to add a the 'like' functionality that I am looking for? How would I go about extending jqGrid.

11:16
12/04/2012


tony

Sofia, Bulgaria

Moderator

posts 6999

Hello,


Did you have consult the documentation?

Did yo mean local data or data obtained from SQL server? It is not kwon.


Anyway you can look here:

http://www.trirand.com/jqgridw….._searching

See defaulr search.

And mybe here:

http://www.trirand.com/jqgridw…..el_options


Regards

23:36
13/04/2012


nhowerton

Member

posts 3

Hey Tony! Thanks for the reply. It is local data, and I did consult the wiki documentation. It turns out that the 'contains' will work. Thanks for your help. 


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

10 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9582

Posts: 28755

Membership:

There are 10104 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (6999 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information