<?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: retreivel jqGrid data with json callback</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/retreivel-jqgrid-data-with-json-callback</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/retreivel-jqgrid-data-with-json-callback/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mbanaouas on retreivel jqGrid data with json callback</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/retreivel-jqgrid-data-with-json-callback#p7564</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/retreivel-jqgrid-data-with-json-callback#p7564</guid>
        	        	<description><![CDATA[<p>the problem is caused by bad data format.</p>
<p>for jqGrid, json data must to be in a special format :</p>
<p>{<br /> &#160; "page":"1",<br /> &#160; "total":1,<br /> &#160; "records":"3",<br /> &#160; "rows":[<br /> &#160;&#160;&#160; {"id":"1","cell":["1","2009-06-15","CLI-1","75000","5000","80000","cli-1"]},<br /> &#160;&#160;&#160; {"id":"2","cell":["2","2009-06-08","CLI-2","45000","5000","50000","cli-2"]},<br /> &#160;&#160;&#160; {"id":"3","cell":["3","2009-06-01","CLI-3","25000","5000","30000","cli-3"]}<br /> &#160; ]<br /> }</p>
<p>Now it works fine !</p>
]]></description>
        	        	<pubDate>Tue, 30 Jun 2009 19:05:09 +0300</pubDate>
        </item>
        <item>
        	<title>mbanaouas on retreivel jqGrid data with json callback</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/retreivel-jqgrid-data-with-json-callback#p7546</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/retreivel-jqgrid-data-with-json-callback#p7546</guid>
        	        	<description><![CDATA[<p>retreivel jqGrid data with json callback</p>
<p>Hi,</p>
<p>jQuery JavaScript Library v1.3.2, jqGrid&#160; 3.4.2 - jQuery Grid</p>
<p>I&#39;m trying to retreive jqGrid data with a json callback. But the grid is showing &#39;Loading...&#39; and firebug detect this error:</p>
<div class="errorTitle">n is undefined</div>
<div class="errorTrace">
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">jqGrid()</a>()<span class="objectLink-sourceLink objectLink">grid.base-min.js (ligne 9)</span></div>
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">jqGrid()</a>()<span class="objectLink-sourceLink objectLink">grid.base-min.js (ligne 9)</span></div>
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">complete</a>()<span class="objectLink-sourceLink objectLink">jquery.js (ligne 3655)</span></div>
<div class="objectBox objectBox-stackFrame"><a class="objectLink" target="_blank">onreadystatechange()</a>()<span class="objectLink-sourceLink objectLink">jquery.js (ligne 3607)</span></div>
</div>
<div class="errorSourceBox errorSource-exec">[Image Can Not Be Found]<span class="errorSource">;(function(b)...</span></div>
</p>
<p>the data retreived is :</p>
<p>{ <br /> total: "1", <br /> page: "1", <br /> records: "3", <br /> rows :<br /> [<br /> {id:"1",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},<br /> {id:"2",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},<br /> {id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"}<br /> ] <br />}<br />thanks for any help</p>
]]></description>
        	        	<pubDate>Tue, 30 Jun 2009 02:54:38 +0300</pubDate>
        </item>
</channel>
</rss>