jqGrid missing search codes

One thing in particular I found missing, was that when you are implementing searching you have to be able to translate the search operator codes sent by the grid to the server into something you can use on the server side. One mildly frustrating problem was that the documentation only lists 9 of the 14 total search operator codes that you have to translate.

I'll list the rest of the codes here:
bn - not begins with ( !(LIKE val%) )
in - is in ( checks if the searchField is in the searchString )
ni - is not in (checks if the searchField is not in the searchString )
en - does not end with (!(LIKE %val) )
nc - does not contain (!(LIKE %val%))

Tags

First posted on 1/3/2015 6:18:36 PM