<?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: onCellSelect and IE7</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/oncellselect-and-ie7</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/oncellselect-and-ie7/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>hpoe on onCellSelect and IE7</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/oncellselect-and-ie7#p6895</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/oncellselect-and-ie7#p6895</guid>
        	        	<description><![CDATA[<p>Thanks Tony,</p>
<p>i have to add that <strong>also ie8 reacts</strong> the same, even when not in compatibility mode.</p>
<ul>
<li>No problems with firefox 3.0.10</li>
<li>No problems with google chrome 1.0.154.65</li>
<li>No go with opera 9.64</li>
</ul>
]]></description>
        	        	<pubDate>Tue, 26 May 2009 01:42:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on onCellSelect and IE7</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/oncellselect-and-ie7#p6888</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/oncellselect-and-ie7#p6888</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>As I see you first column is hidden and since the iCol parameter correspond to cellIndex property, there is a bug in IE6/7 browsers getting the right cellIndex when some columns is hidden.</p>
<p>For more information see</p>
<p><a href="http://support.microsoft.com/kb/814506" target="top" target="_blank">http://support.microsoft.com/kb/814506</a></p>
<p>Also the bug is corrected in 3.5 beta</p>
<p>Regards</p>
<p>Tony</p>
<p>Edit: The bug is present in IE7 instead that from Microsoft tell</p>
<p>that this is for IE6</p>
]]></description>
        	        	<pubDate>Mon, 25 May 2009 12:51:58 +0300</pubDate>
        </item>
        <item>
        	<title>hpoe on onCellSelect and IE7</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/oncellselect-and-ie7#p6884</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/oncellselect-and-ie7#p6884</guid>
        	        	<description><![CDATA[<p>Hi<br />
Is there a known issue with onCellSelect on cell with image and ie7? </p>
<p>all my columns are non-editable.<br />
in Firefox reaction to onRightClickRow, ondblClickRow and onCellSelect.<br />
in IE7 only to ondblClickRow and onRightClickRow. onCellSelect is not responding. </p>
<p>On all other cells onCellSelect fires also in ie7!</p>
<p>in the Column where i want to use onCellSelect there is an image (basket).</p>
<p>The problem is that most of the users of our shop software is using ie6/ie7 together over 90%.</p>
<p>Is there anything i can do differently?</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9257' value='Select Code' data-codeid='sfcode9257' /></p>
<div class='sfcode' id='sfcode9257'>
<p>var id=0;<br />
var parent_id=â€196â€³;<br />
var dim_nr=â€";<br />
var oURL=â€";</p>
<p>jQuery().ready(function() {<br />
  jQuery(â€#listâ€).jqGrid({<br />
  url:â€™get_product.cfc?CFID=2706&#38;CFTOKEN=27757645&#38;method=getMasterproductInfo&#38;id_masterproduct=17182â€²,<br />
  datatype: â€˜jsonâ€™,<br />
  mtype: â€˜GETâ€™,<br />
  colNames:['ID_O_PRODUCT','Artikel Nr','L<br />mm','k<br />mm','b<br />mm','s<br />mm','d<br />','dk<br />mm','CHF / 100STK',''],</p>
<p>  colModel:[{name:'ID_O_PRODUCT',index:'ID_O_PRODUCT',key:true,hidden:true, search:false},<br />
{name:'PRODUCT_NUMBER',index:'PRODUCT_NUMBER',sortable:false, width:65, align:'left'},<br />
{name:'PA1.VALUE_1',index:'PA1.VALUE_1',width:90,align:'center',sortable:false,edittype:'select',editoptions:{value:":All;:;100:100;110:110;120:120;130:130;140:140;150:150;160:160;170:170;180:180;200:200;220:220;240:240;25:25;260:260;280:280;30:30;300:300;35:35;40:40;45:45;50:50;55:55;60:60;65:65;70:70;75:75;80:80;85:85;90:90"}},<br />
{name:'PA2.VALUE_1',index:'PA2.VALUE_1',width:90,align:'center',sortable:false,edittype:'select',editoptions:{value:":All;:;10:10;12:12;14:14;16:16;18:18;20:20;24:24;27:27;3:3;30:30;36:36;4:4;48:48;5:5;6:6;8:8"}},<br />
{name:'PA3.VALUE_1',index:'PA3.VALUE_1',width:90,align:'center',sortable:false,edittype:'select',editoptions:{value:":All;:;108:108;18:18;20:20;22:22;24:24;28:28;32:32;36:36;40:40;44:44;48:48;52:52;60:60;66:66;72:72;84:84"}},<br />
{name:'PA4.VALUE_1',index:'PA4.VALUE_1',width:90,align:'center',sortable:false,edittype:'select',editoptions:{value:":All;:;10:10;12:12;14:14;17:17;19:19;2.5:2.5;22:22;27:27;3:3;36:36;4:4;5:5;6:6;8:8"}},<br />
{name:'PA5.VALUE_1',index:'PA5.VALUE_1',width:90,align:'center',sortable:false,edittype:'select',editoptions:{value:":All;:;M 10:M 10;M 12:M 12;M 14:M 14;M 16:M 16;M 18:M 18;M 20:M 20;M 22:M 22;M 24:M 24;M 27:M 27;M 3:M 3;M 30:M 30;M 36:M 36;M 4:M 4;M 48:M 48;M 5:M 5;M 6:M 6;M 8:M 8"}},<br />
{name:'PA6.VALUE_1',index:'PA6.VALUE_1',width:90,align:'center',sortable:false,edittype:'select',editoptions:{value:":All;:;10:10;13:13;16:16;18:18;21:21;24:24;27:27;30:30;36:36;40:40;45:45;5.5:5.5;54:54;7:7;72:72;8.5:8.5"}},<br />
{name:'PRICE',index:'PRICE',width:70, align:'center',formatter:'currency',sortable:false,search:false},<br />
{name:'art_nr',index:'art_nr',width:25, align:'left',sortable:false,search:false}<br />
],<br />
  pager: â€˜#pagerâ€™,<br />
  height: â€˜autoâ€™,<br />
  width: 825,<br />
  shrinkToFit: false,<br />
  forceToFit: false,<br />
  imgpath: â€˜/shop/javascript/jquery/themes/basic/imagesâ€™,<br />
  loadError: function(xhr,st,err) {alert(â€™Type: â€˜+st+â€™; Response: â€˜+ xhr.status + â€˜  â€˜+xhr.statusText);},<br />
  loadonce: false,<br />
  loadui: â€œblockâ€,<br />
  rowNum: 20,<br />
  rowList: [20,30,40,50,100],<br />
  sortname: â€˜PRODUCT_NUMBERâ€™,<br />
  sortorder: â€œascâ€,<br />
  viewrecords: true,<br />
  toolbar: [true,"top"],<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: â€˜Liste der Dimensionenâ€™,<br />
  afterInsertRow: function(rowid, aData){<br />
    jQuery(â€#listâ€).setCell( rowid, â€˜PRODUCT_NUMBERâ€™,â€, { â€œfont-weightâ€: â€œboldâ€});<br />
    jQuery(â€#listâ€).setCell( rowid, â€˜PRICEâ€™,â€, { â€œfont-weightâ€: â€œboldâ€});<br />
  },<br />
  onCellSelect: function( rowid, iCol, aData) {<br />
    var mynumberofcolumns = $(â€#listâ€).getGridParam(â€colModelâ€).length-1;<br />
    id = $(â€#listâ€).getCell(rowid, 0);<br />
    dim_nr = $(â€#listâ€).getCell(rowid, 1);<br />
//    alert(â€iCol=â€+iCol + â€ mynumberofcolumns=â€+mynumberofcolumns);<br />
    if (iCol == mynumberofcolumns) {<br />
//      oURL = â€œaddbasket.cfm?CFID=2706&#38;CFTOKEN=27757645&#38;ID_O_PRODUCT=â€ + id + â€œ&#38;parent_id=â€ + parent_id;<br />
//      awin = widthndow.open(oURL,â€mainâ€);<br />
      alert(â€Produkt in den Warenkorb: â€ + dim_nr );<br />
    } else {<br />
      alert(â€Click: Row: â€ + rowid + â€ Cell: â€ + iCol + â€ was clickedâ€);<br />
    }<br />
  },<br />
   ondblClickRow: function( rowid ){<br />
    id = $(â€#listâ€).getCell(rowid, 0);<br />
    dim_nr = $(â€#listâ€).getCell(rowid,1);<br />
    alert(â€doubleClick: rowid=â€ + rowid + â€ id=â€+id+â€ dim_nr=â€+dim_nr);<br />
  },<br />
  onRightClickRow: function( rowid ) {<br />
    id = $(â€#listâ€).getCell(rowid, 0);<br />
    dim_nr = $(â€#listâ€).getCell(rowid,1);<br />
    //$(â€#myModalâ€).jqmShow();<br />
    alert( â€œleftClick: here we are: id=â€ + id + â€ , dim_nr=â€ + dim_nr);<br />
  }</p>
<p> });</p>
<p>jQuery(â€#t_listâ€).height(25).hide().filterGrid(â€listâ€,{gridModel:true,gridToolbar:true});</p>
<p>if (jQuery(â€#listâ€).getGridParam(â€™recordsâ€™) &#62; 20) {<br />
  jQuery(â€#t_listâ€).height(25).show().filterGrid(â€listâ€,{gridModel:true,gridToolbar:true});<br />
}</p>
<p>jQuery(â€#listâ€).navGrid(â€™#pagerâ€™,{edit:false,add:false,del:false,search:false,refresh:false})<br />
.navButtonAdd(â€#pagerâ€,{caption:â€Searchâ€,title:â€Toggle Searchâ€,buttonimg: â€˜javascript/jquery/themes/basic/images/find.gifâ€™,<br />
	onClickButton:function(){<br />
		if(jQuery(â€#t_listâ€).css(â€displayâ€)==â€noneâ€) {<br />
			jQuery(â€#t_listâ€).css(â€displayâ€,â€");<br />
		} else {<br />
			jQuery(â€#t_listâ€).css(â€displayâ€,â€noneâ€);<br />
		}<br />
	}</p>
<p>});<br />
});
</p>
</div>
<p>Ideas? TIA</p>
]]></description>
        	        	<pubDate>Mon, 25 May 2009 10:00:51 +0300</pubDate>
        </item>
</channel>
</rss>