ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: javier.quiros@gmail.com on May 19, 2014, 09:10:43 pm
-
There is an example, simple, how to set a screen, loading data from a webservice to bring json data? I have not found the demos
-
All the examples in demos are written with RESTful architecture and most of them with JSON data.
The client side code shown in the demos is equally relevant for web services with RESTful API. Please be through this topic
http://paramquery.com/pro/tutorial#topic-loaddata
Your web service implementation depends upon the language / framework being used on the server side.
-
I mean a complete example; not directed, the API.
A complete example of a simple data grid, charged via webservice in json format of Restful rate, a typical method GET.
But the example is complete.
-
Currently there is no demo for webservice.
-
I know, because I had seen.
So what I ask is to see if you can put that piece of javascript code, because I imagine it must be quite simple, for you.
For those who started it would be quite helpful.
Thank you.
-
Now I'm not sure what you mean.
You don't need to change javascript as provided in the demos if you want to make it work with a webservice. webservice is a server side implementation.
For example http://paramquery.com/pro/demos/paging_local is a simple example of loading JSON data from server database.
If you want to implement webservice for it, you need to write or modify server side code provided in ASP.NET tab but javascript code ( provided in javascript tab) would remain same though you might want to point it to webservice uri ( dataModel.url ).