I wrote delegates for a webservice I use. Each delegate typically has the following methods:
browse(options,callback), // function names are self documenting
detail(id,callback),
update(id,data,callback),
create(data,callback),
delete(id,callback)
I would like to utilize this delegate class mainly because the server API doesn't speak in the jqGrid request and response format.
Is there a setting that allows me to indicate a service proxy for the methods jqGrid needs to do on the data?
something like :
var interface = new JqInterface( new WsDelegate( new JsonpProxy( “http://my.api.com/ws/” )));
$( "#mytable" ).jqGrid({
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top