<?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: Json problem</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/json-problem</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/json-problem/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Json problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-problem#p13241</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-problem#p13241</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Why not follow the link and see what you do wrong?</p>
<p>In order to understand if everthing is ok, just try with one column.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 22 Dec 2009 09:32:35 +0200</pubDate>
        </item>
        <item>
        	<title>digitBoy on Json problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-problem#p13194</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-problem#p13194</guid>
        	        	<description><![CDATA[<p>I am sorry i am triying and i am not getting any good result . Could you help me ? Because for example, the att "recordstotal" is number of records for the query, but mine is dynamic (some json would be of 30 items, another of 2). I am sorry but i am really lost.</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Fri, 18 Dec 2009 23:28:37 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Json problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-problem#p13179</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-problem#p13179</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes it is possible to do this. Do not forget to put the totalpages and other needed attributes for the response.</p>
<p>Best Reagrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 18 Dec 2009 21:31:53 +0200</pubDate>
        </item>
        <item>
        	<title>digitBoy on Json problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-problem#p13147</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-problem#p13147</guid>
        	        	<description><![CDATA[<p>Thanks for answering.</p>
<p>I tried, but do you think it is possible to make a jsonReader for a json like:</p>
<pre><code>[{"id":"1","attr1":"x",</code><code>"attr2":"y",</code><code>"attr3":"z"},</code><br /><code>{"id":"2","attr1":"m",</code><code>"attr2":"n",</code><code>"attr3":"o"}</code>,<br /><code>{"id":"3","attr1":"j",</code><code>"attr2":"k",</code><code>"attr3":"l"}</code>]<br /><br />Because in that way is my json and i couldn&#180;t.<br /><br />Thanks.<br /><br /></pre>
]]></description>
        	        	<pubDate>Fri, 18 Dec 2009 05:04:44 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Json problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-problem#p13134</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-problem#p13134</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In this case you should configure the jsonReader - and set the option repeatitems to false.</p>
<p>More you can find here:</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>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 19:42:32 +0200</pubDate>
        </item>
        <item>
        	<title>digitBoy on Json problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/json-problem#p13067</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/json-problem#p13067</guid>
        	        	<description><![CDATA[<p>Hi, firstly congratulation for the plugin and the community.</p>
<p>I am using Codeigniter 1.7.2 and jqGrid, but I have a problem. I also say that after reading the wiki again and again I have not been able to find a solution for my json data. The respond that I get is OK, using Firebug is the following:</p>
<p>POST:</p>
<table class="netInfoPostTable " border="0" cellspacing="0" cellpadding="0" width="400px">
<tbody class=" ">
<tr class=" ">
<td class="netInfoParamName ">_search</td>
<td class="netInfoParamValue "><code>false</code></td>
</tr>
<tr class=" ">
<td class="netInfoParamName ">nd</td>
<td class="netInfoParamValue "><code>1260940642625</code></td>
</tr>
<tr class=" ">
<td class="netInfoParamName ">page</td>
<td class="netInfoParamValue "><code>1</code></td>
</tr>
<tr class=" ">
<td class="netInfoParamName ">rows</td>
<td class="netInfoParamValue "><code>20</code></td>
</tr>
<tr class=" ">
<td class="netInfoParamName ">sidx</td>
<td class="netInfoParamValue "><code>idpieza</code></td>
</tr>
<tr class=" ">
<td class="netInfoParamName ">sord</td>
<td class="netInfoParamValue "><code>desc</code></td>
</tr>
</tbody>
</table>
<p>RESPOND:</p>
<pre><code>[{"idpieza":"1","descripcion":"Primera pieza de mi vida",<br />"fechaAlta":"2008-12-31 23:59:59","fechaMod"</code><code>:"2009-01-31 23:59:59",<br />"vista":"1","vertical":"0","width":"500","height":"400","top":"10",<br />"left":"20"</code><code>,"color":"blue","background":"#efefef","border":"4px solid #A9A9A9",<br />"bloque_background":"#fff","usuario"</code><code>:"0"},{"idpieza":"2","descripcion":"Segundona",<br />"fechaAlta":"2009-02-27 23:59:59","fechaMod":"2009-11-06</code><code> 23:59:59","vista":"1",<br />"vertical":"1","width":"600","height":"600","top":"500","left":"300","color":"red"</code><code>,<br />"background":"white","border":"1px solid green","bloque_background":"white","usuario":"0"},........<br /><br />CODE:<br /><br />     jQuery("#lista").jqGrid({<br />            ajaxGridOptions : {type:"POST"},<br />            serializeGridData : function(postdata) {<br />                postdata.page = 1;<br />                return postdata;<br />            },<br />            url:&#39;piezas/cristina&#39;,<br />            datatype: "json",<br />            colNames:[&#39;ID&#39;,&#39;Descripcion&#39;, &#39;fechaAlta&#39;, &#39;fechaMod&#39;,&#39;vista&#39;,&#39;Vertical&#39;,&#39;width&#39;,<br />                &#39;height&#39;,&#39;top&#39;,&#39;left&#39;,&#39;color&#39;,&#39;background&#39;,&#39;border&#39;,&#39;bloque_background&#39;],<br />            colModel:[<br />                {name:&#39;idpieza&#39;,index:&#39;idpieza&#39;, width:55},<br />                {name:&#39;descripcion&#39;,index:&#39;descripcion&#39;, width:90},<br />                {name:&#39;fechaAlta&#39;,index:&#39;fechaAlta&#39;, width:100},<br />                {name:&#39;fechaMod&#39;,index:&#39;fechaMod&#39;, width:80, align:"right"},<br />                {name:&#39;vista&#39;,index:&#39;vista&#39;, width:80, align:"right"},<br />                {name:&#39;vertical&#39;,index:&#39;vertical&#39;, width:80,align:"right"},<br />                {name:&#39;width&#39;,index:&#39;width&#39;, width:150, sortable:false},<br />                {name:&#39;height&#39;,index:&#39;height&#39;, width:150, sortable:false},<br />                {name:&#39;top&#39;,index:&#39;top&#39;, width:150, sortable:false},<br />                {name:&#39;left&#39;,index:&#39;left&#39;, width:150, sortable:false},<br />                {name:&#39;color&#39;,index:&#39;color&#39;, width:150, sortable:false},<br />                {name:&#39;background&#39;,index:&#39;background&#39;, width:150, sortable:false},<br />                {name:&#39;border&#39;,index:&#39;border&#39;, width:150, sortable:false},<br />                {name:&#39;bloque_background&#39;,index:&#39;bloque_background&#39;, width:150, sortable:false}<br />            ],<br />            rowNum:20,<br />            width:900,<br />            rowList:[10,20,30],<br />            pager: &#39;#paginacion&#39;,<br />            sortname: &#39;idpieza&#39;,<br />            viewrecords: true,<br />            sortorder: "desc",<br />            caption:"Piezas registradas en el sistema por el usuario"<br />        });<br />        jQuery("#pjqgajax").jqGrid(&#39;navGrid&#39;,&#39;#pjqgajax&#39;,{edit:false,add:false,del:false});<br /><br /><br /><br /></code></pre>
<p>&#62;I know that maybe this json is not available for jqGrid, but i am trying all possibilities. I tried different versions of the jsonReader but not successfully. </p>
<p>So if something is wrong, can anybody help me?</p>
<p>Thanks indeed.</p>
]]></description>
        	        	<pubDate>Wed, 16 Dec 2009 07:20:31 +0200</pubDate>
        </item>
</channel>
</rss>