I’ve been looking over Google and StackOverFlow for a good C# MVC4 example of jqGrid implementing searching into a web api method but I’ve been coming up empty. Can anyone point me to one? I’ve used fiddler to format the method signature to be able to create the web api method signature but it seems like there’re parameters that aren’t even defined in the url. Here’s an example…Â
/api/mymethod?Id=1&callback=jQuery2110027593754697591066_1405696486270&_search=true&nd=1405721700853&rows=10
&page=1&sidx=id&sord=asc&searchField=STATE&searchString=CA&searchOper=eq&filters=&_=1405696486272
I have no idea how to define this last parameter ‘_=1405696486272’, and I don’t know what this one ‘nd=1405721700853’ means.Â
I have been able to get paging and sorting implemented through the web api using this signature
public dynamic Get(int Id, bool _search, string nd, int rows, int page, string sidx, string sord) { … }
 and it works great. It just  seems like there would be a better way to accomplish this without tightly coupling a user control to a RESTFUL service method call. I’m just not familiar enough with this grid. Any pointers would be great.
 I am using jqGrid  4.6.0 – jQuery GridÂ
Thanks,
Tim
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top