<?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: action of clearGridData()</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata</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/action-of-cleargriddata/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Rayson on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p9157</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p9157</guid>
        	        	<description><![CDATA[<p>Dear Tony,</p>
<p>The empty grid lines on footer row still remain there. Is there any reason for not using the same approach as clearing the grid data??</p>
<p>Best regards,</p>
<p>Rayson</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 21:58:44 +0300</pubDate>
        </item>
        <item>
        	<title>tony on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p9053</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p9053</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think there is no need to fix it, since the updatepager is a basic function. Maybe you can do something like this:</p>
<p>function myGridComplete () {</p>
<p>// here your code for grid complete</p>
<p>}</p>
</p>
<p>$("#mygird").setGridParam({gridComplete:null}).clearGridData(true).setGridParam({gridComplete:myGridComplete});</p>
<p>But I&#39;m not sure where you call this.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 30 Aug 2009 10:52:45 +0300</pubDate>
        </item>
        <item>
        	<title>Rayson on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8984</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8984</guid>
        	        	<description><![CDATA[<p>Dear Tony,</p>
<p>What is your suggestion to fix this?</p>
<p>Best regards,</p>
<p>Rayson</p>
]]></description>
        	        	<pubDate>Wed, 26 Aug 2009 22:03:33 +0300</pubDate>
        </item>
        <item>
        	<title>tony on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8852</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8852</guid>
        	        	<description><![CDATA[<p>Hello Rayson,</p>
<p>Yes, clearGridData call a internal updatepager function, which call gridComplete event. This is needed to set correctly the information on pager if available.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 21 Aug 2009 01:41:05 +0300</pubDate>
        </item>
        <item>
        	<title>Rayson on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8833</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8833</guid>
        	        	<description><![CDATA[<p>Dear Tony,</p>
<p>I found out the  problem was caused by using .footerData in gridComplete. I used that instead of userDataOnFooter:true because I don&#39;t want the footer to follow column formats (I have a count below checkbox column). It seems clearGridData() also triggered gridComplete and footer was refreshed with old data after cleared by $(".ui-jqgrid-ftable td",$t.grid.sDiv).html("&#38;nbsp;"); in grid.base.js. Besides, footer&#39;s grid lines will remain there if the cell values are cleared individually.</p>
<p>Best regards,</p>
<p>Rayson</p>
]]></description>
        	        	<pubDate>Thu, 20 Aug 2009 00:07:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8770</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8770</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Please clear the cache and test. It should work. Testted many times</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 19 Aug 2009 04:49:13 +0300</pubDate>
        </item>
        <item>
        	<title>Rayson on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8760</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8760</guid>
        	        	<description><![CDATA[<p>Dear Tony,</p>
<p>I downloaded 3.5.2 and tried .clearGridData(true), however it seems not working. Please check.</p>
<p>Thanks &#38; regards,</p>
<p>Rayson</p>
]]></description>
        	        	<pubDate>Wed, 19 Aug 2009 00:14:47 +0300</pubDate>
        </item>
        <item>
        	<title>Rayson on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8339</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8339</guid>
        	        	<description><![CDATA[<p>Great, thanks Tony!</p>
]]></description>
        	        	<pubDate>Thu, 06 Aug 2009 21:29:10 +0300</pubDate>
        </item>
        <item>
        	<title>tony on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8296</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8296</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Done. Will be in 3.5.1. Also added a option to clear the footer if available.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 06 Aug 2009 07:58:47 +0300</pubDate>
        </item>
        <item>
        	<title>Rayson on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8292</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8292</guid>
        	        	<description><![CDATA[<p>Dear Tony,</p>
<p>Eventhough the cellvalues can be set to empty string individually, the grid line of the footerrow are still there. As footerrow cannot be changed, I set $(".ui-jqgrid-ftable").css(&#39;visibility&#39;,&#39;hidden&#39;) to hide the footerrow completely. Of course, it would be much better if that can be done by specifying a parameter in clearGridData.</p>
<p>Best regards,</p>
<p>Rayson</p>
]]></description>
        	        	<pubDate>Thu, 06 Aug 2009 00:17:12 +0300</pubDate>
        </item>
        <item>
        	<title>tony on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8215</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8215</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>There is no problem to do this automatically, but in most cases we place some texts in the footer which I think they should not be deleted. Instead use footerData method (see docs) to clear the needed values on footer.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 04 Aug 2009 01:35:40 +0300</pubDate>
        </item>
        <item>
        	<title>adahsu on action of clearGridData()</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8176</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/action-of-cleargriddata#p8176</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>&#160; It seems the clearGridData() method will not clear the grid foot row&#39;s data, is there any other way</p>
<p>&#160; to clear the foot row&#39;s data ?</p>
]]></description>
        	        	<pubDate>Sat, 01 Aug 2009 13:09:44 +0300</pubDate>
        </item>
</channel>
</rss>