<?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: Confused about JSON Data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/confused-about-json-data</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/confused-about-json-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Confused about JSON Data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/confused-about-json-data#p16671</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/confused-about-json-data#p16671</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes, this is the fast rendering mode. See docs when you call the afterInsertRow what you should do.In order to be compatible with this set in the grid options</p>
<p>gridview : false</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 26 Apr 2010 12:46:39 +0300</pubDate>
        </item>
        <item>
        	<title>somelton on Confused about JSON Data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/confused-about-json-data#p16562</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/confused-about-json-data#p16562</guid>
        	        	<description><![CDATA[<p>Here&#39;s what the code does: I bind a collection of objects to the grid the usual way. But then in <strong>afterInsertRow</strong>, I manually add a row after each bound row using <strong>addRowData </strong>containing links to manage the data in the row above.</p>
</p>
<p>I now believe the problem is not with the JSON data but with a change to something else. With 3.6.1, I can break inside <strong>afterInsertRow</strong> and see that:</p>
<p>rowid = an integer</p>
<p>rowdata = my columns</p>
<p>rowelem = the underlying object bound to the row</p>
</p>
<p>But with 3.6.4, I can break inside <strong>afterInsertRow </strong>and see the same results as but only every other time. The remaining times I see that:</p>
<p>rowid = an object whose properties suggests its the grid itself</p>
<p>rowdata = a string with the rowid of the row I last manually added</p>
<p>rowelem = the row I last manually added</p>
</p>
<p>I think the difference is that in 3.6.1, the <strong>addRowData </strong>inside <strong>afterInsertRow </strong>didn&#39;t call <strong>afterInsertRow </strong>but in 3.6.4 it does. Can anyone confirm this? Can I call <strong>addRowData </strong>in a way that doesn&#39;t trigger <strong>afterInsertRow</strong>?</p>
]]></description>
        	        	<pubDate>Tue, 20 Apr 2010 16:07:40 +0300</pubDate>
        </item>
        <item>
        	<title>somelton on Confused about JSON Data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/confused-about-json-data#p16547</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/confused-about-json-data#p16547</guid>
        	        	<description><![CDATA[<p>I am trying to upgrade JQGrid from 3.6.1 to 3.6.4 but my grid won&#39;t load the JSON data. Did the format requirements for the JSON data change? I see from this link:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#json_data" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....#json_data</a></p>
</p>
<p>That the expected default JSON data format is:</p>
<pre class="code javascript">{ <br />  total: "xxx", <br />  page: "yyy", <br />  records: "zzz",<br />  rows : [<br />    {id:"1", cell:["cell11", "cell12", "cell13"]},<br />    {id:"2", cell:["cell21", "cell22", "cell23"]},<br />      ...<br />  ]<br />}<br /><br />But my rows element has never looked like that and it works fine in 3.6.1.  My rows element is just an array of objects. I don&#39;t have a rows[0].id or a rows[0].cell.<br /><br />Did this change?</pre>
]]></description>
        	        	<pubDate>Mon, 19 Apr 2010 22:49:07 +0300</pubDate>
        </item>
</channel>
</rss>