I was wondering if there is a way for jqgrid to pass a certain value/string from a given view to the controller, I have a case where I would like to filter my records at the first load and then allow search. I tried to pass the value in the griddata function alongside the sid and sord … but it would just pass that string as null, I found a couple of related posts but I couldnt utilize them.
Thanks in advance!
In general you should just set
filtersproperty of thepostDatajqGrid parameter and set one more parametersearch:true. Look at the answer with the demo. One more answer shows how to construct thefiltersproperty.