<?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: addJSONdata infinite loop</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/addjsondata-infinite-loop</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/treegrid/addjsondata-infinite-loop/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Severance on addJSONdata infinite loop</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/addjsondata-infinite-loop#p22450</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/addjsondata-infinite-loop#p22450</guid>
        	        	<description><![CDATA[<div>
<p>hello,</p>
</p>
<p>thank you&#160;</p>
</p>
<p>it works now</p>
</div>
]]></description>
        	        	<pubDate>Thu, 17 Mar 2011 17:00:38 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on addJSONdata infinite loop</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/addjsondata-infinite-loop#p22444</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/addjsondata-infinite-loop#p22444</guid>
        	        	<description><![CDATA[<p>Probably you should set the datatype to "local".</p>
<p>You can also use data parameter of jqGrid to create grid having the data. Try data: mydata where var mydata defined as [{id:0, colName:"cel1"}] (here colName should be replace to the name property of the column). If the name of the first colimn is not id, you can add key:true property to the definition of the first column.</p>
<p>If all this should work with tree grid I recommend you to look at <a href="http://stackoverflow.com/questions/5322608/jqgrid-tree-view-adjacencey/5333199#5333199" target="_blank">the answer</a> which include demos.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 17 Mar 2011 12:20:57 +0200</pubDate>
        </item>
        <item>
        	<title>Severance on addJSONdata infinite loop</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/addjsondata-infinite-loop#p22442</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/addjsondata-infinite-loop#p22442</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>here is my simple code :</p>
<p>grille.jqGrid({</p>
<p><span style="white-space:pre"> </span>datatype: "json"</p>
<p><span style="white-space:pre"> </span>........</p>
<p>});</p>
<p>grille[0].addJSONData({				 &#160;"total": "1",&#160;				 &#160;"page": "1",&#160;				 &#160;"records": "1",				 &#160;"rows": [					{"id" :"0", "cell" :["0", "cel1"]}				 &#160;]				});</p>
</p>
<p>then i see the data in my grid, but the page is reloading again and again...!</p>
<p>I had no problem with addRowData, except a performance problem, so I want to switch on addJSONData.</p>
</p>
<p>Thank you for your help !</p>
]]></description>
        	        	<pubDate>Thu, 17 Mar 2011 10:39:42 +0200</pubDate>
        </item>
</channel>
</rss>