<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: data handler</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/data-handler</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/data-handler/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>shanimal on data handler</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-handler#p26085</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-handler#p26085</guid>
        	        	<description><![CDATA[<p>I wrote delegates for a webservice I use. Each delegate typically has the following methods:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7937' value='Select Code' data-codeid='sfcode7937' /></p>
<div class='sfcode' id='sfcode7937'>browse(options,callback), // function names are self documenting<br />detail(id,callback),<br />update(id,data,callback),<br />create(data,callback),<br />delete(id,callback)</div>
<p>I would like to utilize this delegate class mainly because the server API doesn&#39;t speak in the jqGrid request and response format.</p>
<p>Is there a setting that allows me to indicate a service proxy for the methods jqGrid needs to do on the data?</p>
<p>something like :</p>
<p>var interface = new JqInterface( new WsDelegate( new JsonpProxy( "http://my.api.com/ws/" )));</p>
<p><input type='button' class='sfcodeselect' name='sfselectit586' value='Select Code' data-codeid='sfcode586' /></p>
<div class='sfcode' id='sfcode586'>$( &#34;#mytable&#34; ).jqGrid({<br />&#160; browse:interface.browse,<br />&#160; detail:interface.detail,<br />&#160; update:interface.update,<br />&#160; create:interface.create,<br />&#160; remove:interface.remove,<br />&#160; // ...<br />})</div>
<p>-- OR --</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2737' value='Select Code' data-codeid='sfcode2737' /></p>
<div class='sfcode' id='sfcode2737'>$( &#34;#mytable&#34; ).jqGrid({<br />&#160; serviceProxy:interface<br />&#160; // ...<br />})</div>
]]></description>
        	        	<pubDate>Wed, 07 Mar 2012 18:38:06 +0200</pubDate>
        </item>
</channel>
</rss>