<?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: function datatype</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype</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/feature-request/function-datatype/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on function datatype</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p2391</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p2391</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Of course these methods should become Privileged.</p>
<p>If you want to access them you should add something at end of base script before calling populate:</p>
<p>this.addXmlData = function (data) { addXmlData(data, this.bDiv) };</p>
<p>Then you can call it like this:</p>
<p>jQuery("#gridid").addXmlData(mydata);</p>
<p>The same for JSON</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 02:34:11 +0300</pubDate>
        </item>
        <item>
        	<title>BobFleischman on function datatype</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p2384</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p2384</guid>
        	        	<description><![CDATA[<p>We tried this approach, however I am not sure how to call the private addJSONdata function from within our function.</p>
<p>Is there a working example we can examine?</p>
<p>Thanks</p>
<p>Bob</p>
]]></description>
        	        	<pubDate>Tue, 07 Oct 2008 10:42:57 +0300</pubDate>
        </item>
        <item>
        	<title>tony on function datatype</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p1908</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p1908</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>That is really good. I will try to implement this.</p>
<p>It will be very good if you post here example.</p>
<p>Best Regards</p>
<p>Thanks</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 06 Sep 2008 07:09:16 +0300</pubDate>
        </item>
        <item>
        	<title>aperson on function datatype</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p1896</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/function-datatype#p1896</guid>
        	        	<description><![CDATA[<p>On line 693 of version 3.2.3 of grid.base.js before the switch statement in the populate function add the following line.</p>
<p>if (typeof ts.p.datatype == &#39;function&#39;) {ts.p.datatype(gdata);}</p>
<p>This will allow a function to be called as the datatype. I currently use a json-rpc wrapper for my server side php code, which mimics my PHP classes. This takes care of all my json-rpc and jsonp-rpc calls. The current datatypes are limiting.</p>
<p>Datatype functions should call addJSONData addXMLData respectively when they have aquired their data. For examples of their use see the populate function stating on line 688 of version 3.2.3 of grid.base.js.</p>
<p>Datatype functions are supplied with a single object containig the request information, which normally would have been transformed into GET or POST arguments. This object is compatible with the data: option supplied to the jQuery $.ajax function. Again, look to the populate function for an example of it&#39;s use.</p>
<p>This is a feature, which is easy to add and use, and helpful if your data is supplied by other jQuery plugins, as mine is.</p>
]]></description>
        	        	<pubDate>Fri, 05 Sep 2008 10:49:33 +0300</pubDate>
        </item>
</channel>
</rss>