<?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: multiple Rows selected inspite of multiselect: false</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false</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/multiple-rows-selected-inspite-of-multiselect-false/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>hpoe on multiple Rows selected inspite of multiselect: false</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14390</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14390</guid>
        	        	<description><![CDATA[<p>You are the man! Thank you.</p>
</p>
<p>It will not be easy to change that situation , because this is a very general routine in which I had to add the leading space because the string "0" and "00" became both 0 in the representation of some fields. I will try to make a distinction between the first and the other columns!</p>
<p>Thanks again and regards</p>
<p>hpoe</p></p>
]]></description>
        	        	<pubDate>Fri, 29 Jan 2010 09:20:57 +0200</pubDate>
        </item>
        <item>
        	<title>tony on multiple Rows selected inspite of multiselect: false</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14370</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14370</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I see where is the problem</p>
<p>Your id&#39;s begin with space. Please trim the ids before send to the grid</p>
<p>Here is a part from your response</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8888' value='Select Code' data-codeid='sfcode8888' /></p>
<div class='sfcode' id='sfcode8888'>
<pre><div class=&#34;&#34;sfcode&#34;&#34;>{&#34;ROWS&#34;:[[&#34; 21224&#34;,&#34; 206.510.100&#34;,&#34; 5&#34;,&#34; 3&#34;,&#34; 0.150&#34;,&#34; 509.00&#34;,&#34; 103105&#34;],<br />[&#34; 21225&#34;,&#34; 206.510.110&#34;,&#34; 6&#34;,&#34; 3&#34;,&#34; 0.220&#34;,&#34; 494.00&#34;,&#34; 103106&#34;]</div></pre>
</div>
<p>Best Regards<br />Tony</p>
<p>P.S. I will see how to avoid such situation in the future</p>
]]></description>
        	        	<pubDate>Thu, 28 Jan 2010 18:33:03 +0200</pubDate>
        </item>
        <item>
        	<title>hpoe on multiple Rows selected inspite of multiselect: false</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14330</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14330</guid>
        	        	<description><![CDATA[<p>Hi Tony</p>
<p>thank you for your answer. But that&#39;s not the case. The first Column is always the internal item #. Given by the underlying system it is not possible to have the same item# serveral times.</p>
<p>colNames and colModel are generated by a stored procedure and it is different for every page.</p>
</p>
<p>to see and try:</p>
<p><a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://debrunner.mediando.ch/shop/mediando_page.cfm?action=prod&#38;parent_id=112&#38;id_o_product=19391&#39;);" rel="nofollow" href="http://debrunner.mediando.ch/shop/mediando_page.cfm?action=prod&#38;parent_id=112&#38;id_o_product=19391" target="_blank"></a><a href="http://debrunner.mediando.ch/s" rel="nofollow" target="_blank">http://debrunner.mediando.ch/s</a>.....duct=19391</p>
</p>
<p>best regards</p>
<p>hpoe</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">
<pre id="line38">    var mygrid = $("#list").jqGrid({<br />    url:&#39;/shop/mediando/get_product.cfc?CFID=562549&#38;CFTOKEN=47627565&#38;method=getMasterproductInfo&#38;id_masterproduct=84630&#38;sprach_cd=d&#39;,<br />    datatype: &#39;json&#39;,<br />    mtype: &#39;GET&#39;,<br />    colNames:[&#39;ID_O_PRODUCT&#39;,&#39;Artikel Nr&#39;,&#39;&#216;&#60;br /&#62;mm&#39;,&#39;L&#60;br /&#62;mm&#39;,&#39;Bohr &#216; Backstein&#60;br /&#62;mm&#39;,&#39;Bohr &#216; Beton&#60;br /&#62;mm&#39;,&#39;Bohrtiefe d. anzuschl. Bauteil&#60;br /&#62;mm&#39;,&#39;&#216; Kopf&#60;br /&#62;mm&#39;,&#39;TX&#39;,&#39;Aktionspreis&#39;,&#39;CHF/100 Stk&#39;,&#39;&#39;,&#39;productname&#39;,&#39;refcode&#39;],<br />    colModel:[<br />    {name:&#39;ID_O_PRODUCT&#39;,index:&#39;ID_O_PRODUCT&#39;,key:true,hidden:true, search:false},<br />{name:&#39;PRODUCT_NUMBER&#39;,index:&#39;PRODUCT_NUMBER&#39;,sortable:false,search:false, width:75, align:&#39;left&#39;}, <br />{name:&#39;PA1.VALUE_1&#39;,index:&#39;PA1.VALUE_1&#39;,width:90,align:&#39;center&#39;,sortable:false,stype:&#39;select&#39;,editoptions:{value:":All;7.5:7.5"}},<br />{name:&#39;PA2.VALUE_1&#39;,index:&#39;PA2.VALUE_1&#39;,width:90,align:&#39;center&#39;,sortable:false,stype:&#39;select&#39;,editoptions:{value:":All;42:42;52:52;62:62;72:72;82:82;92:92;102:102;112:112;122:122;132:132;152:152;182:182;212:212"}},<br />{name:&#39;PA3.VALUE_1&#39;,index:&#39;PA3.VALUE_1&#39;,width:90,align:&#39;center&#39;,sortable:false,stype:&#39;select&#39;,editoptions:{value:":All;6:6"}},<br />{name:&#39;PA4.VALUE_1&#39;,index:&#39;PA4.VALUE_1&#39;,width:90,align:&#39;center&#39;,sortable:false,stype:&#39;select&#39;,editoptions:{value:":All;6.5:6.5"}},<br />{name:&#39;PA5.VALUE_1&#39;,index:&#39;PA5.VALUE_1&#39;,width:90,align:&#39;center&#39;,sortable:false,stype:&#39;select&#39;,editoptions:{value:":All;52:52;62:62;72:72;82:82;92:92;102:102;112:112;122:122;132:132;142:142;162:162;192:192;222:222"}},<br />{name:&#39;PA6.VALUE_1&#39;,index:&#39;PA6.VALUE_1&#39;,width:90,align:&#39;center&#39;,sortable:false,stype:&#39;select&#39;,editoptions:{value:":All;7.3:7.3"}},<br />{name:&#39;PA7.VALUE_1&#39;,index:&#39;PA7.VALUE_1&#39;,width:90,align:&#39;center&#39;,sortable:false,stype:&#39;select&#39;,editoptions:{value:":All;25:25"}},<br />{name: &#39;AKTIONSPREIS&#39;,index:&#39;AKTIONSPREIS&#39;,width:90, align:&#39;center&#39;,formatter:function(cellv,opt,rowObj ) {if (cellv == 0) return leertxt;return  $.currency(cellv,{s:"&#39;",d:".",c:2});},sortable:false,search:false},<br />{name:&#39;PRICE&#39;,index:&#39;PRICE&#39;,width:90, align:&#39;center&#39;,formatter:function(cellv,opt,rowObj ) {if (cellv == 0) return anfragtxt;return  $.currency(cellv,{s:"&#39;",d:".",c:2});},sortable:false,search:false}, <br />{name:&#39;art_nr&#39;,index:&#39;art_nr&#39;,width:25, align:&#39;left&#39;,sortable:false,search:false},<br />{name:&#39;productname&#39;,index:&#39;productname&#39;,hidden:true, align:&#39;left&#39;,sortable:false,search:false},<br />{name:&#39;refcode&#39;,index:&#39;refcode&#39;,hidden:true, search:false}<br />],<br />    pager: &#39;#pager&#39;,<br />    height: &#39;auto&#39;,<br />    width: 850,<br />    shrinkToFit: false,<br />    forceToFit: false,<br />    multiselect: false,<br />    loadError: function(xhr,st,err) {alert(&#39;Type: &#39;+st+&#39;; Response: &#39;+ xhr.status + &#39;  &#39;+xhr.statusText);},<br />    loadonce: false,<br />    loadui: "block",<br />    altRows:false,<br />    rowNum: 15,<br />    rowList: [10,15,20,50,100,500,1000,1500],<br />    sortname: &#39;PRODUCT_NUMBER&#39;,<br />    sortorder: "asc",<br />    viewrecords: true,<br />    //The JSON reader. This defines what the JSON data returned from the CFC should look like<br />    jsonReader: {<br />      root: "ROWS", //our data<br />      page: "PAGE", //current page<br />      total: "TOTAL", //total pages<br />      records:"RECORDS", //total records<br />      userdata:"USERDATA", //Userdata we will pass back for feedback<br />      cell: "", //Not Used<br />      id: "0" //Will default to frist column<br />      },<br />    caption: &#39;Liste der Dimensionen&#39;,<br />    afterInsertRow: function(rowid, aData){     <br />      $("#list").setCell( rowid, &#39;art_nr&#39;, &#39;&#60;img src="images/caddy.jpg" alt="wk" /&#62;&#39;, &#39;&#39;);<br />      //$("#"+rowid).contextMenu(&#39;menuJqGrid&#39;, eventsMenu);<br />      <br />      $("#list").setCell( rowid, &#39;PRODUCT_NUMBER&#39;,&#39;&#39;, { "font-weight": "bold"});<br />      $("#list").setCell( rowid, &#39;PRICE&#39;,&#39;&#39;, { "font-weight": "bold"});<br />      $("#list").setCell( rowid, &#39;AKTIONSPREIS&#39;,&#39;&#39;, { "font-weight": "bold", "color":"red"});<br />    },<br />    loadComplete: function() {<br />      var no_columns =  $("#list").getGridParam("colModel").length-1;<br />      var no_hiddens = 5; // incl. fixed column dim_nr, price, basket.img<br />      if (rgt_basket == 1) {<br />        no_hiddens = 6; // incl. fixed column dim_nr, price, basket.img<br />        max_cols = 6;<br />      } else {<br />        no_hiddens = 3;<br />        max_cols = 7;<br />      }<br />      var cols = no_columns - no_hiddens; // ohne hiddens und ohne dim_nr und warenkorb<br />      if  (cols &#60;= max_cols) {<br />        $("#list").setGridWidth(851,true);<br />      }<br />// hier m&#252;sste getestet werden, ob die FilterToolbar aktiviert werden soll.<br />      if (no_rows == 0) {<br />        no_rows = $("#list").getGridParam("records");<br />//        alert("rows=" + no_rows);<br />        if (no_rows == 0) no_rows = 1;<br />        if ( no_rows &#62; 15) {<br />          mygrid[0].toggleToolbar();<br />        }<br />      }<br />      <br />      $("#list").contextMenu(&#39;menuJqGrid&#39;, eventsMenu);<br />      <br /><br />    } <br />    ,onCellSelect: function( rowid, iCol, aData) {<br />      var no_columns = $("#list").getGridParam("colModel").length-1;<br />      var last_column = no_columns;<br />      id_product = $("#list").getCell(rowid, &#39;ID_O_PRODUCT&#39;);<br />      dim_nr = $("#list").getCell(rowid, &#39;PRODUCT_NUMBER&#39;);<br />      art_nr = $("#list").getCell(rowid, &#39;refcode&#39;);<br />      productname = $("#list").getCell(rowid, &#39;productname&#39;);<br />//      alert("iCol=" + iCol + "no_Collumns=" + no_columns);<br />      //no_columns = no_columns - 1;<br />      if (iCol == (no_columns-2)) {<br />         toBasket(id_product, art_nr, dim_nr, productname);<br />      } else {<br />         alert("weitere Optionen mit rechter Maustaste");<br />      }<br /><br />    }<br />    ,onRightClickRow: function( rowid, iRow, iCol, e ) {<br />      //$(&#39;#list&#39;).setSelection(rowid,false);<br />      dim_nr = $("#list").getCell(rowid, &#39;PRODUCT_NUMBER&#39;);<br />      art_nr = $("#list").getCell(rowid, &#39;refcode&#39;);<br />      id_product = $("#list").getCell(rowid, &#39;ID_O_PRODUCT&#39;);<br />      productname = $("#list").getCell(rowid, &#39;productname&#39;);<br />      //alert("dim_Nr:" + dim_nr + "nArt_nr:" + art_nr + "nid_product:" + id_product + "nproductname:" + productname);<br />    }<br />    <br />   });<br /><br /><br /><br /></pre>
</div>
]]></description>
        	        	<pubDate>Thu, 28 Jan 2010 11:18:06 +0200</pubDate>
        </item>
        <item>
        	<title>tony on multiple Rows selected inspite of multiselect: false</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14280</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14280</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Be a sure that you have uniquie id in the grid. One possible reason is that all your rows have the same id.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 26 Jan 2010 18:02:57 +0200</pubDate>
        </item>
        <item>
        	<title>hpoe on multiple Rows selected inspite of multiselect: false</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14246</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/multiple-rows-selected-inspite-of-multiselect-false#p14246</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>I am experiencing a strange effect. In spite of multiselect = false, each rightClick or Click is selecting a row and resetSelection does not seem to work here. Any ideas what could be/go wrong here?</p></p>
]]></description>
        	        	<pubDate>Mon, 25 Jan 2010 16:10:45 +0200</pubDate>
        </item>
</channel>
</rss>