I use a ASP.NET Web Service to populate the jqxGrid with data, but I don’t use filtering build-in functionality.
I have a Web Method GetData() without parameters to filter data from SQL Database.
The ajax call use type: ‘GET’, and dataType: ‘json’. By default the call is:
GET /Service.asmx/GetData?0=%7B&1=%7D&filterscount=0&groupscount=0&pagenum=0&pagesize=10
&recordstartindex=0&recordendindex=15.333333333333334&Date=dd.MM.yyyy&_=1380656304583 HTTP/1.1.
All the values of the send parameters in the code above are always identic,
except the last -> _=1380656304583, where the value changes for each ajax call.
Now I want to send GetData() with two parameters “month” and “year”.
Please, please, tell me how can I attach my two parameters?
How can I change the GetData() method signature? The last parameter _=1380656304583
becomes always the value dynamically!
I could not find help in the documentation!
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-extra-http-variables.htm
Many, many thanks!
PS. Without build-in filtering.