<?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: Unable to load JSON data retrieve from the server !</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server</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/unable-to-load-json-data-retrieve-from-the-server/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>aphilippe on Unable to load JSON data retrieve from the server !</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15484</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15484</guid>
        	        	<description><![CDATA[<p>Youuuupiiiiiii !!!!</p>
<p>Thanks a lot tony : it work FINE !!</p>
<p>And i love your plugin.</p>
<p>Best Regards.</p>
</p>
<p>Philippe</p>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 19:22:45 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Unable to load JSON data retrieve from the server !</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15483</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15483</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version do you use?</p>
<p>Try to use the latest and set in the jsonReader this (your reader is not configuret right I see right now)</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9792' value='Select Code' data-codeid='sfcode9792' /></p>
<div class='sfcode' id='sfcode9792'>
<p>jsonReader: { root:&#34;persons.persons&#34;, repeatitems:false, id: &#34;0&#8243;},</p>
</p>
</div>
<p>Also not &#62;, but .</p>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 19:18:31 +0200</pubDate>
        </item>
        <item>
        	<title>aphilippe on Unable to load JSON data retrieve from the server !</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15482</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15482</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>&#160;&#160; i put repeatitems to false but it&#39;s the same way : nothings appear in the grid. <img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
<p>In fact, i&#39;m consume a RESTful service produce by an application (JSF, Spring-CXF,...).</p>
<p>Best Regards.</p>
<p>Philippe</p>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 19:13:47 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Unable to load JSON data retrieve from the server !</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15476</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15476</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks Phicarre, but I think that the problem is in repeatitems, in this case (named data) the repeatitems should be set to false.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 18:55:46 +0200</pubDate>
        </item>
        <item>
        	<title>phicarre on Unable to load JSON data retrieve from the server !</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15474</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15474</guid>
        	        	<description><![CDATA[<p>With Firebug, Network tab, you can check parameters of your url&#160; <a href="http://&#039;+ipserveur+&#039;/services/persons/list" rel="nofollow" target="_blank"><a href="http://&#039;+ipserveur+&#038;#039" rel="nofollow">http://&#039;+ipserveur+&#038;#039</a>;.....rsons/list</a></p>
<p>Header, Reply ,HTML</p>
<p>Check reply if empty ... if yes you know where is your problem ...</p>
<p>Rgds,</p>
<p>Phicarre</p>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 18:48:50 +0200</pubDate>
        </item>
        <item>
        	<title>aphilippe on Unable to load JSON data retrieve from the server !</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15467</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-load-json-data-retrieve-from-the-server#p15467</guid>
        	        	<description><![CDATA[<p>Hi everybody,</p>
<p>&#160;&#160; i&#39;m new with jqQuery and i&#39;m not able to load data in json format. Here is the structure of my json data :</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3607' value='Select Code' data-codeid='sfcode3607' /></p>
<div class='sfcode' id='sfcode3607'>{ persons : <br />&#160;&#160;&#160;&#160; { persons :<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [ { id : 001 , name : toto },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { id : 002 , name : titi },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { id : 003 , name : tata },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { id : 004 , name : tete }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]}<br />&#160; }</div>
<p>So, i&#39;ve tried to use the property jsonReader like this :</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5997' value='Select Code' data-codeid='sfcode5997' /></p>
<div class='sfcode' id='sfcode5997'>jsonReader: { <br />&#160;&#160;&#160;&#160;&#160; root:&#34;persons&#62;persons&#34;,<br />&#160;&#160;&#160;&#160;&#160; repeatitems:true,<br />&#160;&#160;&#160;&#160;&#160; id: &#34;0&#34;<br />}</div>
<p>I&#39;m using firebug and jquery-1.3.2.<br />&#160; There is no errors when the page is loaded but there is nothing in my grid. <br />&#160; I&#39;m retrieve data directly from the server without the chance to manipulate the reponse. Please help me.</p>
<p>I give you my whole javascript code :</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3858' value='Select Code' data-codeid='sfcode3858' /></p>
<div class='sfcode' id='sfcode3858'>$(document).ready(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log(&#34;Trace begin&#34;);<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#list&#34;).jqGrid({ <br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url:&#39;<a href="http://&#039;+ipserveur+&#039;/services/persons/list&#038;#39" rel="nofollow" target="_blank">http://&#039;+ipserveur+&#039;/services/persons/list&#038;#39</a>;,<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#34;json&#34;,<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Id&#39;,&#39;Name&#39;],<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel:[ <br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:55},<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;name&#39;,index:&#39;name&#39;, width:90},<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#34;desc&#34;,<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jsonReader: { root:&#34;persons&#62;persons&#34;, repeatitems:true, id: &#34;0&#34;},<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;themes/basic/images&#39;,<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:&#34;Persons Listing&#34;, height: 200, width : 700 });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log(&#34;Trace End&#34;);<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#list&#34;).jqGrid(&#39;navGrid&#39;,&#34;#pager&#34;,{edit:false,add:false,del:false});&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</div>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 16:58:20 +0200</pubDate>
        </item>
</channel>
</rss>