<?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: jsonstring problem with pagination v3.8</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/jsonstring-problem-with-pagination-v3-8</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/bugs/jsonstring-problem-with-pagination-v3-8/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>FoRever_Zambia on jsonstring problem with pagination v3.8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jsonstring-problem-with-pagination-v3-8#p23715</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jsonstring-problem-with-pagination-v3-8#p23715</guid>
        	        	<description><![CDATA[<p>i have the same problem, when initial data from jsonstring - pagination doesn&#39;t work. Tryed 4.0 and 4.1.1 versions. 3.6.5 works fine!!</p>
]]></description>
        	        	<pubDate>Tue, 21 Jun 2011 15:32:06 +0300</pubDate>
        </item>
        <item>
        	<title>Wakamolee on jsonstring problem with pagination v3.8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jsonstring-problem-with-pagination-v3-8#p22117</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jsonstring-problem-with-pagination-v3-8#p22117</guid>
        	        	<description><![CDATA[<p>New notes:</p>
</p>
<p>I downloaded the previous versions, and:</p>
<ul>
<li>v3.6.5: Everything works perfectly.</li>
<li>v3.7.2: Pagination values loaded incorrectly, as the first post.</li>
<li>v3.8.2: Pagination values loaded incorrectly, as the first post.</li>
</ul>
]]></description>
        	        	<pubDate>Thu, 17 Feb 2011 21:57:46 +0200</pubDate>
        </item>
        <item>
        	<title>Wakamolee on jsonstring problem with pagination v3.8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jsonstring-problem-with-pagination-v3-8#p21918</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jsonstring-problem-with-pagination-v3-8#p21918</guid>
        	        	<description><![CDATA[<p>I upgraded from v3.6.2 to v3.8.2, and the pagination shows incorrect values when the data is loaded using datatype:"jsonstring".</p>
<p>I have 447 records, but when using jsonstring the pagination only shows "1-10 of 10 rows". When using datatype:"json" everything works fine.</p>
</p>
<p>Here is my grid definition (short test version):</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3484' value='Select Code' data-codeid='sfcode3484' /></p>
<div class='sfcode' id='sfcode3484'>$(&#34;#actividades_test&#34;).jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#39;jsonstring&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;datastr : json_acts,<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Codigo&#39;,&#39;Descripcion&#39;, &#39;Unidad&#39;, &#39;P. unit.&#39;, &#39; &#39;, &#39;Grupo&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;colModel :[ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;, index:&#39;actividad:id&#39;, width:60, hidden:true}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;descripcion&#39;, index:&#39;actividad:descripcion&#39;, width:310,editable:true,editrules:{required:true}}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;unidad&#39;, index:&#39;actividad.unidad&#39;, align:&#39;center&#39;, width:60, search:false}, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;total&#39;, index:&#39;total&#39;, width:60, align:&#39;right&#39;, search:false, sortable:false,formatter:&#39;number&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;add&#39;, index:&#39;add&#39;, width:20, align:&#39;right&#39;, search:false, sortable:false,fixed:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;grupo&#39;, index:&#39;grupo&#39;, width:20, align:&#39;right&#39;, search:false, hidden:true, sortable:false} <br />&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;height: &#34;auto&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#pager2&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowNum:10,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowList:[10, 20],<br />&#160;&#160; &#160;&#160;&#160; &#160;sortname: &#39;actividad:descripcion&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;sortorder: &#39;asc&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;caption: &#39;Actividades&#39;<br />&#160;&#160; &#160;});</div>
<p>and the json data:</p>
<pre id="line259"><p><input type='button' class='sfcodeselect' name='sfselectit6355' value='Select Code' data-codeid='sfcode6355' /></p><div class='sfcode' id='sfcode6355'>var json_acts = &#39;{&#34;userdata&#34;:{&#34;exec_time&#34;:&#34;0.1920&#34;},&#34;page&#34;:1,&#34;total&#34;:45,&#34;records&#34;:447,&#34;rows&#34;:[{&#34;id&#34;:&#34;861&#34;,&#34;cell&#34;:[&#34;861&#34;,&#34;01 DEMOLICION&#34;,&#34;ITEM&#34;,0]},{&#34;id&#34;:&#34;726&#34;,&#34;cell&#34;:[&#34;726&#34;,&#34;0101 Desmantelar techo cerchas madera&#34;,&#34;m2&#34;,1191.58056]},{&#34;id&#34;:&#34;846&#34;,&#34;cell&#34;:[&#34;846&#34;,&#34;0102 Demolicion pared gypsum&#34;,&#34;m2&#34;,1787.37085]},{&#34;id&#34;:&#34;845&#34;,&#34;cell&#34;:[&#34;845&#34;,&#34;0103 Demolicion pared bloque&#34;,&#34;m2&#34;,2264.00304]},{&#34;id&#34;:&#34;848&#34;,&#34;cell&#34;:[&#34;848&#34;,&#34;0104 Demolicion cielo internit&#34;,&#34;m2&#34;,2025.68701]},{&#34;id&#34;:&#34;849&#34;,&#34;cell&#34;:[&#34;849&#34;,&#34;0106 Demolicion cielo tablilla&#34;,&#34;m2&#34;,2383.16113]},{&#34;id&#34;:&#34;850&#34;,&#34;cell&#34;:[&#34;850&#34;,&#34;0202 Botada excavacion manual&#34;,&#34;m3&#34;,2383.16113]},{&#34;id&#34;:&#34;575&#34;,&#34;cell&#34;:[&#34;575&#34;,&#34;0204 Excavacion general&#34;,&#34;m3&#34;,6839.67216]},{&#34;id&#34;:&#34;945&#34;,&#34;cell&#34;:[&#34;945&#34;,&#34;Accesorios de ba\u00f1o editado fer&#34;,&#34;Jgo&#34;,593.18295]},{&#34;id&#34;:&#34;255&#34;,&#34;cell&#34;:[&#34;255&#34;,&#34;Acometida de agua potable&#34;,&#34;PZA&#34;,956.51414]}]}&#39;;</div>NOTES:<br />- Works perfectly on v3.6.2<br />- Some lines below I change the datatype:"json", and when reloading the grid on page 1, it returns the exact same string<br /></pre>
]]></description>
        	        	<pubDate>Wed, 02 Feb 2011 15:58:17 +0200</pubDate>
        </item>
</channel>
</rss>