<?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: Empty Grid cells under 3.6 using json dot notation</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/empty-grid-cells-under-3-6-using-json-dot-notation</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/empty-grid-cells-under-3-6-using-json-dot-notation/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Empty Grid cells under 3.6 using json dot notation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/empty-grid-cells-under-3-6-using-json-dot-notation#p17021</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/empty-grid-cells-under-3-6-using-json-dot-notation#p17021</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Just copy paste you r code and the only change that bring the grid to work is to set repeatitems to false - i.e.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3105' value='Select Code' data-codeid='sfcode3105' /></p>
<div class='sfcode' id='sfcode3105'>
<p>jQuery("#grid").jqGrid({<br /> url:&#39;&#8230;&#39;,<br /> jsonReader: {<br />repeatitems: false,    		<br /> root: "resultsRows",<br /> cell: &#39;&#39;<br /> },<br /> datatype: "json",<br /> colModel:[<br /> {name:&#39;actionName.value&#39;, <br /> index:&#39;actionName.value&#39;,<br /> label:&#39;Action Name&#39;, <br /> sorttype:&#39;text&#39;<br /> },<br /> {name:&#39;actions.value&#39;, <br /> index:&#39;actions.value&#39;, <br /> label:&#39;Actions&#39;, <br /> sorttype:&#39;int&#39;, <br /> align:&#39;right&#39;<br /> }<br /> ],<br /> rowNum:2,<br /> viewrecords: true, 	<br /> //caption: "My Caption", 	<br /> height: &#39;100%&#39; <br />});</p>
</p>
</div>
<p>This work well in my demo.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 09 May 2010 13:05:17 +0300</pubDate>
        </item>
        <item>
        	<title>padams on Empty Grid cells under 3.6 using json dot notation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/empty-grid-cells-under-3-6-using-json-dot-notation#p17018</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/empty-grid-cells-under-3-6-using-json-dot-notation#p17018</guid>
        	        	<description><![CDATA[<p>I can&#39;t seem to get data to appear in cells for of my grid when using json dot notation under 3.6.  here is my json:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9749' value='Select Code' data-codeid='sfcode9749' /></p>
<div class='sfcode' id='sfcode9749'>{&#34;timePeriod: <br /> {&#34;period&#34;:<br /> &#34;this_week&#34;,<br /> &#34;startDate&#34;:&#34;20100502&#34;,<br /> &#34;endDate&#34;:&#34;20100509&#34;,<br /> &#34;startTime&#34;:1272783600,<br /> &#34;endTime&#34;:1273388400,<br /> &#34;label&#34;:&#34;This Week&#34;<br /> },<br /> &#34;resultsPerPage&#34;:null,<br /> &#34;resultsTotal&#34;:null,<br /> &#34;resultsReturned&#34;:13,<br /> &#34;resultsRows&#34;:[<br /> {&#34;actionName&#34;: <br /> {&#34;result_type&#34;:&#34;dimension&#34;,<br /> &#34;name&#34;:&#34;actionName&#34;,<br /> &#34;value&#34;:&#34;comment&#34;,<br /> &#34;label&#34;:&#34;Action Name&#34;,<br /> &#34;data_type&#34;:&#34;string&#34;<br /> },<br /> &#34;actions&#34;: <br /> {&#34;result_type&#34;:&#34;metric&#34;,<br /> &#34;name&#34;:&#34;actions&#34;,<br /> &#34;value&#34;:&#34;1&#34;,<br /> &#34;label&#34;:&#34;Actions&#34;,<br /> &#34;data_type&#34;:&#34;integer&#34;<br /> }<br /> },<br /> {&#34;actionName&#34;:  <br /> {&#34;result_type&#34;:&#34;dimension&#34;,<br /> &#34;name&#34;:&#34;actionName&#34;,<br /> &#34;value&#34;:&#34;created&#34;,<br /> &#34;label&#34;:&#34;Action Name&#34;,<br /> &#34;data_type&#34;:&#34;string&#34;<br /> },<br /> &#34;actions&#34;: <br /> {&#34;result_type&#34;:&#34;metric&#34;,<br /> &#34;name&#34;:&#34;actions&#34;,<br /> &#34;value&#34;:&#34;4&#34;,<br /> &#34;label&#34;:&#34;Actions&#34;,<br /> &#34;data_type&#34;:&#34;integer&#34;<br /> }<br /> ],<br /> &#34;labels&#34;: {<br /> &#34;actions&#34;:&#34;Actions&#34;,<br /> &#34;actionName&#34;:&#34;Action Name&#34;<br /> },<br /> &#34;more&#34;:null,<br /> &#34;page&#34;:1,<br /> &#34;total_pages&#34;:null,<br /> &#34;self&#34;:null,<br /> &#34;next&#34;:null,<br /> &#34;results_count&#34;:13,<br /> &#34;offset&#34;:0,<br /> &#34;limit&#34;:null,<br /> &#34;query_limit&#34;:null,<br /> &#34;module&#34;:&#34;base&#34;<br />}
</div>
<p>here is my jqgrid setup:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5276' value='Select Code' data-codeid='sfcode5276' /></p>
<div class='sfcode' id='sfcode5276'>jQuery(&#34;#grid&#34;).jqGrid({<br /> url:&#39;&#8230;&#39;,<br /> jsonReader: {<br /> //repeatitems: false    		<br /> root: &#34;resultsRows&#34;,<br /> cell: &#39;&#39;<br /> },<br /> datatype: &#34;json&#34;,<br /> colModel:[<br /> {name:&#39;actionName.value&#39;, <br /> index:&#39;actionName.value&#39;,<br /> label:&#39;Action Name&#39;, <br /> sorttype:&#39;text&#39;<br /> },<br /> {name:&#39;actions.value&#39;, <br /> index:&#39;actions.value&#39;, <br /> label:&#39;Actions&#39;, <br /> sorttype:&#39;int&#39;, <br /> align:&#39;right&#39;<br /> }<br /> ],<br /> rowNum:2,<br /> viewrecords: true, 	<br /> //caption: &#34;My Caption&#34;, 	<br /> height: &#39;100%&#39; <br />});</div>
<p>The grid renders but the cells are blank. Any idea what I am missing?</p>
<p>I could not get it to work either useing datatype: clientSide or local.</p>
]]></description>
        	        	<pubDate>Sat, 08 May 2010 21:37:55 +0300</pubDate>
        </item>
</channel>
</rss>