<?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: change jqGridReader for key-value pairs of json data</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-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/discussion/change-jqgridreader-for-key-value-pairs-of-json-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>izumeroot on change jqGridReader for key-value pairs of json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21568</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21568</guid>
        	        	<description><![CDATA[<p>I have such json in my grid:</p>
<p>{"page":"1","records":3,"total":1,"userdata":"","rows":[{"id":"1","title":"Wrong Title After Saving","date":"2010-09-03","is_active":"1","status":"New Ticket"},{"id":"2","title":"Can&#39;t remove a record","date":"2010-10-12","is_active":"1","status":"Assigned"},{"id":"3","title":"Add refresh button fro grid","date":"2010-12-07","is_active":"1","status":"Done"}]}</p>
<p>My jsonReader is:</p>
<p>jsonReader: { <br />&#160;root: "rows",<br />&#160;page: "page",<br />&#160;total: "total",<br />&#160;records: "records",<br />&#160;repeatitems: false,<br />&#160;id: "0"<br />&#160;}</p>
<p>But I also use another json structure for default jsonReader :</p>
<p>{"page":"1","records":3,"total":1,"userdata":"","rows":[{"cell":["652ABB6C2E4784317CA9222A23BA8940","test_usr_r@mail.test","1","10 \u0441\u0435\u043d 2010","0","0","0"]},{"cell":["652ABB6C2E4784317CA9222A23BA8940","user2@mail.test","1","20 \u0438\u044e\u043b 2010","0","0","0"]},{"cell":["652ABB6C2E4784317CA9222A23BA8940","izumeroot@gmail.com","1","23 \u0430\u0432\u0433 2010","0","0","0"]}]}</p>
]]></description>
        	        	<pubDate>Fri, 07 Jan 2011 11:00:13 +0200</pubDate>
        </item>
        <item>
        	<title>gunjan shah on change jqGridReader for key-value pairs of json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21566</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21566</guid>
        	        	<description><![CDATA[<p>Hello Izumeroot,</p>
</p>
<p>&#160;&#160;&#160; Format of json is :</p>
</p>
<pre id="line1"><p><input type='button' class='sfcodeselect' name='sfselectit8389' value='Select Code' data-codeid='sfcode8389' /></p><div class='sfcode' id='sfcode8389'>{&#34;rows&#34;:[{&#34;id&#34;:1123,&#34;cell&#34;:[1123,300]},{&#34;id&#34;:1087,&#34;cell&#34;:[1087,300]},{&#34;id&#34;:1067,&#34;cell&#34;:[1067,301]},{&#34;id&#34;:1064,&#34;cell&#34;:[1064,500]},{&#34;id&#34;:1174,&#34;cell&#34;:[1174,2000]}]}</div></pre>
<p>Its working fine in internet explorer, but fireFox&#39;s error console shows the error : <strong>"not well formed"</strong> .</p>
</p>
<p>Thanx..</p>
<p>Gunjan Shah.</p>
]]></description>
        	        	<pubDate>Fri, 07 Jan 2011 07:37:25 +0200</pubDate>
        </item>
        <item>
        	<title>izumeroot on change jqGridReader for key-value pairs of json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21563</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21563</guid>
        	        	<description><![CDATA[<p>can you show result json?</p>
]]></description>
        	        	<pubDate>Thu, 06 Jan 2011 15:04:38 +0200</pubDate>
        </item>
        <item>
        	<title>gunjan shah on change jqGridReader for key-value pairs of json data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21559</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/change-jqgridreader-for-key-value-pairs-of-json-data#p21559</guid>
        	        	<description><![CDATA[<p>Hello Friends,</p>
</p>
<p>&#160;I am using jqGrid which retrieves the data from the server. It returns the jSon Object . Json object contains key/value pairs .</p>
<p><input type='button' class='sfcodeselect' name='sfselectit231' value='Select Code' data-codeid='sfcode231' /></p>
<div class='sfcode' id='sfcode231'>json.put(d.getDenomId(), d.getDenomAmt());</div>
</p>
<p>I want to handle this data at client side using jqGrid . I can not understand that How to change the structure of <strong>jsonReader </strong>as per my requirement.</p>
</p>
<p>Can anyone help me ?</p>
</p>
<p>In my Grid , there are two row, one is "ID" and second is "Value" . The json object retruns the id-values pairs.</p>
<p>Then what will be the value of root and other things in <strong>jsonReader</strong> ?</p>
<p>Thanx,</p>
<p>Gunjan Shah.</p></p>
]]></description>
        	        	<pubDate>Thu, 06 Jan 2011 08:48:53 +0200</pubDate>
        </item>
</channel>
</rss>