<?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: delRowData doesn't update the rowcount in groupText</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/delrowdata-doesnt-update-the-rowcount-in-grouptext</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/delrowdata-doesnt-update-the-rowcount-in-grouptext/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mobinskariya on delRowData doesn't update the rowcount in groupText</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delrowdata-doesnt-update-the-rowcount-in-grouptext#p30365</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delrowdata-doesnt-update-the-rowcount-in-grouptext#p30365</guid>
        	        	<description><![CDATA[<p>Thanks Tony. That solved my problem.</p>
]]></description>
        	        	<pubDate>Mon, 17 Mar 2014 08:19:50 +0200</pubDate>
        </item>
        <item>
        	<title>tony on delRowData doesn't update the rowcount in groupText</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delrowdata-doesnt-update-the-rowcount-in-grouptext#p30363</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delrowdata-doesnt-update-the-rowcount-in-grouptext#p30363</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>You will need to destroy and recreate the grouping again in this case. The is example in our demos on how to do this.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sun, 16 Mar 2014 13:20:14 +0200</pubDate>
        </item>
        <item>
        	<title>mobinskariya on delRowData doesn't update the rowcount in groupText</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/delrowdata-doesnt-update-the-rowcount-in-grouptext#p30357</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/delrowdata-doesnt-update-the-rowcount-in-grouptext#p30357</guid>
        	        	<description><![CDATA[<p>I am trying to delete a row from jqgrid using the method&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8622' value='Select Code' data-codeid='sfcode8622' /></p>
<div class='sfcode' id='sfcode8622'>delRowData</div>
<p>&#160;which is using the grouping feature. When i delete a row from the jqgrid it doesn&#39;t seem to be updating the count in the groupText. Below is the code I have tried </p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit2775' value='Select Code' data-codeid='sfcode2775' /></p><div class='sfcode' id='sfcode2775'>&#60;html&#62;
&#60;head&#62;

&#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;jquery-ui-custom.css&#34; /&#62;
&#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; href=&#34;ui.jqgrid.css&#34; /&#62;

&#60;script src=&#34;js/jquery.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;script src=&#34;js/jquery-ui-custom.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;script src=&#34;js/grid.locale-en.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;script src=&#34;js/jquery.jqGrid.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;script src=&#34;js/jquery.contextmenu.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34;&#62;
    jQuery(document).ready(function(){
    var mydata = [ 
    {id:&#34;9&#34;,invdate:&#34;2007-09-01&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,amount:&#34;400.00&#34;,tax:&#34;30.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;1&#34;,invdate:&#34;2010-05-24&#34;,name:&#34;test&#34;,note:&#34;note&#34;,tax:&#34;10.00&#34;,total:&#34;2111.00&#34;} , 
    {id:&#34;2&#34;,invdate:&#34;2010-05-25&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}, 
    {id:&#34;3&#34;,invdate:&#34;2007-09-01&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,tax:&#34;30.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;29&#34;,invdate:&#34;2007-09-01&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,amount:&#34;450.00&#34;,tax:&#34;40.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;4&#34;,invdate:&#34;2007-10-04&#34;,name:&#34;test&#34;,note:&#34;note&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;5&#34;,invdate:&#34;2007-10-05&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}, 
    {id:&#34;6&#34;,invdate:&#34;2007-09-06&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,tax:&#34;30.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;7&#34;,invdate:&#34;2007-10-04&#34;,name:&#34;test&#34;,note:&#34;note&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;8&#34;,invdate:&#34;2007-10-03&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,amount:&#34;300.00&#34;,tax:&#34;21.00&#34;,total:&#34;320.00&#34;}, 
    {id:&#34;19&#34;,invdate:&#34;2007-09-01&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,amount:&#34;400.00&#34;,tax:&#34;40.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;11&#34;,invdate:&#34;2007-10-01&#34;,name:&#34;test&#34;,note:&#34;note&#34;,amount:&#34;200.00&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;12&#34;,invdate:&#34;2007-10-02&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,amount:&#34;300.00&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}, 
    {id:&#34;13&#34;,invdate:&#34;2007-09-01&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,amount:&#34;400.00&#34;,tax:&#34;35.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;14&#34;,invdate:&#34;2007-10-04&#34;,name:&#34;test&#34;,note:&#34;note&#34;,amount:&#34;200.00&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;15&#34;,invdate:&#34;2007-10-05&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,amount:&#34;300.00&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}, 
    {id:&#34;16&#34;,invdate:&#34;2007-09-06&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,amount:&#34;400.00&#34;,tax:&#34;30.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;17&#34;,invdate:&#34;2007-10-04&#34;,name:&#34;test&#34;,note:&#34;note&#34;,amount:&#34;200.00&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;18&#34;,invdate:&#34;2007-10-03&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,amount:&#34;300.00&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}, 

    {id:&#34;21&#34;,invdate:&#34;2007-10-01&#34;,name:&#34;test&#34;,note:&#34;note&#34;,amount:&#34;200.00&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;22&#34;,invdate:&#34;2007-10-02&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,amount:&#34;300.00&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}, 
    {id:&#34;23&#34;,invdate:&#34;2007-09-01&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,amount:&#34;450.00&#34;,tax:&#34;30.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;24&#34;,invdate:&#34;2007-10-04&#34;,name:&#34;test&#34;,note:&#34;note&#34;,amount:&#34;200.00&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;25&#34;,invdate:&#34;2007-10-05&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,amount:&#34;300.00&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}, 
    {id:&#34;26&#34;,invdate:&#34;2007-09-06&#34;,name:&#34;test3&#34;,note:&#34;note3&#34;,amount:&#34;400.00&#34;,tax:&#34;30.00&#34;,total:&#34;430.00&#34;}, 
    {id:&#34;27&#34;,invdate:&#34;2007-10-04&#34;,name:&#34;test&#34;,note:&#34;note&#34;,amount:&#34;200.00&#34;,tax:&#34;10.00&#34;,total:&#34;210.00&#34;}, 
    {id:&#34;28&#34;,invdate:&#34;2007-10-03&#34;,name:&#34;test2&#34;,note:&#34;note2&#34;,amount:&#34;300.00&#34;,tax:&#34;20.00&#34;,total:&#34;320.00&#34;}

    ];

    jQuery(&#34;#list3&#34;).jqGrid({ data: mydata, 
    datatype: &#34;local&#34;, 
    height: 400,
    colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;], 
    colModel:[ 
    {name:&#39;id&#39;,index:&#39;id&#39;, width:60, sorttype:&#34;int&#34;}, 
    {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, sorttype:&#34;date&#34;}, 
    {name:&#39;name&#39;,index:&#39;name&#39;, width:100}, 
    {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:&#34;right&#34;}, 
    {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:&#34;right&#34;}, 
    {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:&#34;right&#34;,sorttype:&#34;float&#34;}, 
    {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false} 
    ], 
    rowNum:100, 
    rowList:[10,20,30], 
    pager: &#39;#pager3&#39;, 
    sortname: &#39;amount asc, tax&#39;,
    viewrecords: true,
    sortorder: &#34;asc&#34;,
    loadonce: true, 
    multiSort: true,
    grouping : true,
    groupingView : {
                    groupField : [&#39;invdate&#39;],
                    groupColumnShow : [false],
                    groupText : [&#39;&#60;b&#62;{0} - ({1})&#60;/b&#62;&#39;],
                    groupCollapse : false,
                    groupOrder: [&#39;asc&#39;],
                    groupSummary : [false],
                    plusicon : &#39;ui-icon ui-icon-triangle-1-e&#39;,
                    minusicon : &#39;ui-icon ui-icon-triangle-1-s&#39;
                },
    caption: &#34;Load Once Example&#34; 
    });

    jQuery(&#34;#deleteButton&#34;).click(function(){

    var rowid = $(&#34;#list3&#34;).jqGrid (&#34;getGridParam&#34;, &#34;selrow&#34;);
    jQuery(&#34;#list3&#34;).jqGrid(&#34;delRowData&#34;,rowid);
    });

    });
&#60;/script&#62;

&#60;/head&#62;
&#60;body&#62;
&#60;table id=&#34;list3&#34;&#62;&#60;/table&#62;

&#60;button id=&#34;deleteButton&#34;&#62;Delete Row&#60;/button&#62;
&#60;/body&#62;
&#60;/html&#62;</div></pre>
<p>I hope I have explained my problem. Please let me know if anything else need to be added.</p>
<p>BTW I&#160;am using jqgrid version : "4.5.4"</p>
<p>Thanks in advance</p>
<p>Mobin</p>
]]></description>
        	        	<pubDate>Fri, 14 Mar 2014 17:03:06 +0200</pubDate>
        </item>
</channel>
</rss>