<?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: MultiSelect and Grouping do not work together</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/multiselect-and-grouping-do-not-work-together</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/multiselect-and-grouping-do-not-work-together/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on MultiSelect and Grouping do not work together</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/multiselect-and-grouping-do-not-work-together#p30477</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/multiselect-and-grouping-do-not-work-together#p30477</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Thanks. Just <a href="https://github.com/tonytomov/jqGrid/commit/f39c322803ad4bfc39f9b12b7bb3ae2152b8c88c" target="_blank">fixed the problem</a></p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 10 Apr 2014 12:18:26 +0300</pubDate>
        </item>
        <item>
        	<title>costeen on MultiSelect and Grouping do not work together</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/multiselect-and-grouping-do-not-work-together#p30465</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/multiselect-and-grouping-do-not-work-together#p30465</guid>
        	        	<description><![CDATA[<p>I&#39;m trying to figure out a way to use multi-select and grouping together. &#160;The label is displayed in the checkbox column, but the column is only wide enough for the checkbox. &#160;The user can only see the first letter of the grouping label.</p>
<p>If I remove the checkbox column via ($myGrid.jqGrid(&#39;hideCol&#39;,&#39;cb&#39;) then I can read the label, but the summary shows up in the wrong column (i.e. in my example below Qty totals show up in the Price column instead of Qty).</p>
<p>Html file....</p>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;</p>
<p>&#60;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&#62;</p>
<p>&#60;head&#62;</p>
<p>&#60;link rel="stylesheet" type="text/css" href="jquery-ui.css" /&#62;</p>
<p>&#60;link rel="stylesheet" type="text/css" href="jqGrid-4.6.0/css/ui.jqgrid.css" /&#62;</p>
<p>&#60;script type="text/javascript" src="jquery-1.11.0.min.js"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript" src="jquery-ui.js"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript" src="jqGrid-4.6.0/js/jquery.jqGrid.src.js"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript" src="myTest.js"&#62;&#60;/script&#62;</p>
<p>&#60;/head&#62;</p>
<p>&#60;body&#62;</p>
<p>&#60;table id="myGrid"&#62;&#60;/table&#62;</p>
<p>&#60;/body&#62;</p>
<p>&#60;/html&#62;</p>
</p>
<p>Javascript file...</p>
<p>(function() {</p>
</p>
<p>// Get the JSON data from the server.</p>
<p>$(document).ready(function() {</p>
</p>
<p>var $myGrid = $("#myGrid");</p>
</p>
<p>var data = [</p>
<p>{"myID":"AAA833109","myDesc":"My long description","myQty":"1.00","myPrice":"111.23"},</p>
<p>{"myID":"BAA833109","myDesc":"Ny long description","myQty":"64.00","myPrice":"111.23"},</p>
<p>{"myID":"CAA833109","myDesc":"Yy long description","myQty":"31.00","myPrice":"111.23"},</p>
<p>{"myID":"DAA833109","myDesc":"Zy long description","myQty":"41.00","myPrice":"111.23"},</p>
<p>{"myID":"EAA833109","myDesc":"Ay long description","myQty":"51.00","myPrice":"111.23"},</p>
<p>{"myID":"FAA833109","myDesc":"By long description","myQty":"61.00","myPrice":"111.23"},</p>
<p>{"myID":"GAA833109","myDesc":"Cy long description","myQty":"71.00","myPrice":"111.23"},</p>
<p>{"myID":"HAA833109","myDesc":"Dy long description","myQty":"81.00","myPrice":"111.23"},</p>
<p>{"myID":"AAA833109","myDesc":"My long description","myQty":"91.00","myPrice":"111.23"},</p>
<p>{"myID":"AAA833109","myDesc":"My long description","myQty":"101.00","myPrice":"111.23"}];</p>
<p>$myGrid.jqGrid({</p>
<p>&#160; data:  data,</p>
<p>&#160; datatype: &#39;local&#39;,</p>
<p>&#160; colNames: ["ID", "Description","Qty","Price"],</p>
<p>&#160; colModel: [{name: "myID", index: "myID", width:150},</p>
<p>&#160; &#160; &#160;{name: "myDesc", index: "myDesc"},</p>
<p>&#160; &#160; &#160;{name:"myQty", index:"myQty",summaryType:&#39;sum&#39;},</p>
<p>&#160; &#160; &#160;{name:"myPrice", index:"myPrice"}],</p>
<p>&#160; rowNum: 10,</p>
<p>&#160; rowTotal: 10,</p>
<p>&#160; height: 300,</p>
<p>&#160; width: 800,</p>
<p>&#160; multiselect: true,</p>
<p>&#160; grouping: true,</p>
<p>&#160; groupingView : {</p>
<p>&#160; &#160; groupField: ["myID"],</p>
<p>&#160; &#160; groupSummaryPos: [&#39;header&#39;],</p>
<p>&#160; &#160; groupColumnShow : [true],</p>
<p>&#160; &#160; groupText : [&#39;&#60;b&#62;{0} ({1})&#60;/b&#62;&#39;],</p>
<p>&#160; &#160; groupSummary : [true]</p>
<p>&#160; }</p>
<p>});</p>
</p>
<p>// Hide the checkbox columns for the row selection.</p>
<p>//$myGrid.jqGrid(&#39;hideCol&#39;,&#39;cb&#39;);</p>
</p>
<p>});</p>
<p>}());</p></p>
]]></description>
        	        	<pubDate>Mon, 07 Apr 2014 23:19:09 +0300</pubDate>
        </item>
</channel>
</rss>