<?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: addRowData after clearGridData bug</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug</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/addrowdata-after-cleargriddata-bug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on addRowData after clearGridData bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p19382</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p19382</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. I see some problems here. Will publish the fix in 3.8 soon.</p>
<p>Best Reagrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 27 Aug 2010 19:24:10 +0300</pubDate>
        </item>
        <item>
        	<title>scawa1952 on addRowData after clearGridData bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p19325</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p19325</guid>
        	        	<description><![CDATA[<p>I have downloaded the latest version of jqGrid 3.7.2 , added them to my project, cleared the cache and javascript cache and I am still getting this problem with &#39;clearGridData&#39;.</p>
</p>
<p>my javascript is:</p>
</p>
<p>&#160;&#160;&#160; $("#eventList").jqGrid(&#39;clearGridData&#39;);&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160; for(var i=0;i&#60;=mydata.length;i++) {<br />&#160;&#160; &#160;&#160;&#160; &#160;$("#eventList").jqGrid(&#39;addRowData&#39;, i+1 ,mydata[i]); <br />&#160;&#160;&#160; }</p>
</p>
<p>106 records are loaded and the navbar shows &#39;View -9 - 96 of 106&#39;.</p>
</p>
<p>If I comment out the &#39;clearGridData&#39; then it works, but loading another set of data loads another 106 records and I now have 212 records in the grid.</p>
<p>It appears that the bug fix to &#39;clearGridData&#39; isn&#39;t working.&#160; Do I need to load a newer version of jQuery or the other libraries?</p>
</p>
<p>Stephen McConnell</p>
]]></description>
        	        	<pubDate>Thu, 26 Aug 2010 00:28:53 +0300</pubDate>
        </item>
        <item>
        	<title>tony on addRowData after clearGridData bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p16349</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p16349</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. This is a bug and is fixed in GitHub</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 12 Apr 2010 09:20:56 +0300</pubDate>
        </item>
        <item>
        	<title>Sean Liang on addRowData after clearGridData bug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p16338</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/addrowdata-after-cleargriddata-bug#p16338</guid>
        	        	<description><![CDATA[<p>Here is the grid definition:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6538' value='Select Code' data-codeid='sfcode6538' /></p>
<div class='sfcode' id='sfcode6538'>&#160;&#160;&#160; $(&#39;#dataList&#39;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype : &#39;local&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames : [&#39;ID&#39;, &#39;NAME&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel : [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name : &#39;id&#39;, index : &#39;id&#39;, width : 150},<br />&#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; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager : &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pginput : false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pgbuttons : false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords : true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect : true<br />&#160;&#160;&#160; });</div>
<p>I&#39;d like to set the data base on user&#39;s choice, and the calling code look like this:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6974' value='Select Code' data-codeid='sfcode6974' /></p>
<div class='sfcode' id='sfcode6974'>// clear previous grid data<br />$(&#39;#dataList&#39;).jqGrid(&#39;clearGridData&#39;);<br />for (var i = 0; i &#60; data.length; i++) {<br />&#160;&#160; &#160;var item = data[i];<br />&#160;&#160; &#160;$(&#39;#dataList&#39;).jqGrid(&#39;addRowData&#39;, item.id, {<br />&#160;&#160; &#160;&#160;&#160; &#160;id : data.id,<br />&#160;&#160; &#160;&#160;&#160; &#160;name : item.name<br />&#160;&#160; &#160;});<br />}</div>
</p>
<p>and the "from" and "to" number in footer bar are wrong after that:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8097' value='Select Code' data-codeid='sfcode8097' /></p>
<div class='sfcode' id='sfcode8097'>&#60;div class=&#34;ui-paging-info&#34; style=&#34;text-align: right;&#34; dir=&#34;ltr&#34;&#62;View <strong><span style=&#34;color: #ff0000;&#34;>-19 - 10</span></strong> of 30&#60;/div&#62;</div>
<p>Is it a bug?</p>
</p>
<p>I&#39;m using jquery 1.4.2 with jquery-ui 1.8.</p>
]]></description>
        	        	<pubDate>Sat, 10 Apr 2010 08:25:46 +0300</pubDate>
        </item>
</channel>
</rss>