<?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: Delete row in Grouping grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/delete-row-in-grouping-grid</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/delete-row-in-grouping-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>cfnievaKarira on Delete row in Grouping grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delete-row-in-grouping-grid#p22015</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delete-row-in-grouping-grid#p22015</guid>
        	        	<description><![CDATA[<p>Hi,&#160;I have&#160;a problem&#160;deleting&#160;a row&#160;in a&#160;grid&#160;with&#160;grouping.<br />This&#160;grid&#160;load&#160;data using&#160;a&#160;javascript&#160;array.&#160;I&#39;m&#160;deleting&#160;the&#160;array&#160;the&#160;item&#160;you want andI&#39;m&#160;reloading&#160;the&#160;grid&#160;by&#160;"reloadGrid". When&#160;I&#160;reload&#160;the&#160;grid&#160;data&#160;look bad, I have found&#160;that&#160;the&#160;array&#160;is correct,&#160;but&#160;paints&#160;the&#160;grid&#160;data&#160;are incorrect,&#160;duplicating&#160;a&#160;row.</p>
<p>Delete&#160;array&#160;element&#160;with&#160;the&#160;splice&#160;of&#160;javascript:</p>
<p>removeData&#160;=&#160;myArray.splice&#160;(index, 1);</p>
<p>Then&#160;I call&#160;to&#160;reload&#160;the&#160;grid</p>
<p>(&#39;#&#160;myGrid&#39;).&#160;setGridParam&#160;({data:&#160;myArray});<br />(&#39;#&#160;myGrid&#39;).&#160;trigger&#160;("reloadGrid");</p>
<p>Why&#160;is&#160;the&#160;grid&#160;look bad?</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Wed, 09 Feb 2011 15:58:01 +0200</pubDate>
        </item>
</channel>
</rss>