<?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: undefined in subgrids with IE 9 &#38; JQGrid 4.4.0</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0</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/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>aw_jqgrid on undefined in subgrids with IE 9 &#38; JQGrid 4.4.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0#p26806</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0#p26806</guid>
        	        	<description><![CDATA[<p>Hello thanks for the replay. In the demo I can see it&#39;s working, so what additional info I can give you? It seems that there&#39;s a connection betweeen the undefined and each row, I can see that when hovering with the mouse over it. In Firefox I got all necessary tools to check th js but in IE I can&#39;t have a closer look on the code.</p>
<p>I downloaded the actual version from here.</p>
<p>Regards Andi</p>
</p>
<p>Here&#39;s the js code of it:</p>
</p>
<pre id="line1">// JQuery
$(document).ready(function()
{
	// Globale Variablen
  var nSelectedLast,
      getColumnIndexByName = function(grid,columnName)
      {
          var cm = grid.jqGrid(&#39;getGridParam&#39;,&#39;colModel&#39;);
          for(var i=0; i&#60;cm.length; i++)
          {
            if(cm[i].name=<a class="attribute-value error" title="&#8220;=&#8221; in einem nicht mit Anf&#252;hrungszeichen umschlossenen Attribut-Wert. Wahrscheinliche Ursachen: Attribute, die zusammensto&#223;en, oder eine URL-Such-Zeichenkette in einem nicht mit Anf&#252;hrungszeichen umgebenen Attribut-Wert." target="_blank">==columnName)</a>
            {
              return i;
            }
          }
          return -1;
      };

	// Funktionen
  function fnPickdates(nId)
  {
    $("#"+nId+"_Konfiguration_Datum","#Konfigurationen_Table").datepicker({dateFormat:"dd.mm.yy"}); 
  }


	// Grid
	$("#Konfigurationen_Table").jqGrid
	({
		// Options
		url:     "../includes/IncKonfigurationKonfigurationen.php?action=<a class="attribute-value error" title="Anf&#252;hrungszeichen in einem nicht mit Anf&#252;hrungszeichen umschlossenen Attribut-Wert. Wahrscheinliche Ursachen: Attribute, die zusammensto&#223;en, oder eine URL-Such-Zeichenkette in einem nicht mit Anf&#252;hrungszeichen umgebenen Attribut-Wert." target="_blank">load",</a>
		editurl: "../includes/IncKonfigurationKonfigurationen.php?action=<a class="attribute-value error" title="Anf&#252;hrungszeichen in einem nicht mit Anf&#252;hrungszeichen umschlossenen Attribut-Wert. Wahrscheinliche Ursachen: Attribute, die zusammensto&#223;en, oder eine URL-Such-Zeichenkette in einem nicht mit Anf&#252;hrungszeichen umgebenen Attribut-Wert." target="_blank">save",</a> 
    mtype: "POST",
		datatype: "json",
		caption: "Configurations",
		colNames:
		[
			&#39;&#39;,
			&#39;Date&#39;,
			&#39;Time&#39;,
			&#39;Datalogger SN&#39;,
			&#39;Metering&#39;,
			&#39;Technician&#39;
		],
		colModel:
		[
			{name:&#39;Action&#39;, width:&#39;60px&#39;, fixed:true, sortable:false, resize:false, formatter:&#39;actions&#39;, formatoptions:{keys:true}},
			{name:&#39;Konfiguration_Datum&#39;, index:&#39;Konfiguration_Datum&#39;, editable:true, edittype:&#39;text&#39;, sorttype:"date", editoptions:{size: 10, maxlengh: 10, dataInit: function(element){$(element).datepicker({dateFormat: &#39;dd.mm.yy&#39;})}}},
			{name:&#39;Konfiguration_Zeit&#39;, index:&#39;Konfiguration_Zeit&#39;, editable:true, sorttype:"time"},
			{name:&#39;Konfiguration_Datalogger&#39;, index:&#39;Konfiguration_Datalogger&#39;, editable:true, edittype:&#39;text&#39;},
			{name:&#39;Konfiguration_Messintervall&#39;, width:&#39;120px&#39;, index:&#39;Konfiguration_Messintervall&#39;, editable:true, edittype:"select", formatter:&#39;select&#39;, editoptions:{value:"0:Permanent;1:1 Hour;3:3 Hours;6:6 Hours;12:12 Hours;24:24 Hours"}},
			{name:&#39;Konfiguration_Bearbeiter&#39;, index:&#39;Konfiguration_Bearbeiter&#39;, editable:false, edittype:&#39;text&#39;}
		],
		sortname: &#39;Konfiguration_Datum desc, Konfiguration_Zeit&#39;,
		sortorder: "desc",
		rowNum: 10,
		pager: "#Konfigurationen_Pager",
		viewrecords: true,
		autowidth: true,
    shrinkToFit: false,
		height: "auto",

		// Events
		ondblClickRow: function(nId)
		{
			if(nId &#38;&#38; nId!=<a class="attribute-value" target="_blank">nSelectedLast)</a>
			{
				$(this).jqGrid(&#39;restoreRow&#39;,nSelectedLast);
				nSelectedLast=<a class="attribute-value" target="_blank">nId;</a>
			}
			
      // Datensatz &#228;ndern
      $(this).jqGrid(&#39;editRow&#39;, nId, true, fnPickdates); 
		},

		subGrid: true,
		subGridRowExpanded: function(subgrid_id, row_id)
		{
			var subgrid_table_id, pager_id;
			subgrid_table_id = <a class="attribute-value error error" title="Anf&#252;hrungszeichen in einem nicht mit Anf&#252;hrungszeichen umschlossenen Attribut-Wert. Wahrscheinliche Ursachen: Attribute, die zusammensto&#223;en, oder eine URL-Such-Zeichenkette in einem nicht mit Anf&#252;hrungszeichen umgebenen Attribut-Wert.
Anf&#252;hrungszeichen in einem nicht mit Anf&#252;hrungszeichen umschlossenen Attribut-Wert. Wahrscheinliche Ursachen: Attribute, die zusammensto&#223;en, oder eine URL-Such-Zeichenkette in einem nicht mit Anf&#252;hrungszeichen umgebenen Attribut-Wert.">subgrid_id+"_t";</a>
      pager_id = "<a class="attribute-value" target="_blank">p_</a>"+subgrid_table_id;
			
			$("#"+subgrid_id).html("&#60;table id=&#39;<a class="attribute-value" target="_blank">"+subgrid_table_id+"</a>&#39; class=&#39;<a class="attribute-value" target="_blank">scroll</a>&#39;&#62;&#60;/table&#62;&#60;div id=&#39;<a class="attribute-value" target="_blank">"+pager_id+"</a>&#39; class=&#39;<a class="attribute-value" target="_blank">scroll</a>&#39;&#62;&#60;/div&#62;");
      $("#"+subgrid_table_id).jqGrid
      ({
				// Options
        url:     "../includes/IncKonfigurationKonfigurationenSensoren.php?action=load&#38;id="+row_id,
        editurl: "../includes/IncKonfigurationKonfigurationenSensoren.php?action=save&#38;row_id="+row_id, 
        mtype: &#39;POST&#39;,
        datatype: "json",
        caption: "Sensors",
        colNames:
        [
          &#39;&#39;,
          &#39;Box&#39;,
          &#39;Box Type&#39;,
          &#39;Channel&#39;,
          &#39;Sensor&#39;,
          &#39;Metering&#39;,
          &#39;Placement&#39;,
          &#39;Relay&#39;,
          &#39;Min&#39;,
          &#39;Max&#39;,
          &#39;Action&#39;,
          &#39;Comment&#39;
        ],
        colModel:
        [
          {name:&#39;Action&#39;, width:&#39;60px&#39;, fixed:true, sortable:false, resize:false, formatter:&#39;actions&#39;, formatoptions:{keys:true}},
          {name:&#39;Konfiguration_Sensor_Box&#39;, width:&#39;60px&#39;, index:&#39;Konfiguration_Sensor_Box&#39;, editable:true, edittype:"select", editoptions:{value:"1:1;2:2;3:3;4:4;5:5;6:6;7:7;8:8;9:9;10:10;11:11;12:12;13:13;14:14;15:15;16:16;17:17;18:18;19:19;20:20;99:99"}, align:&#39;center&#39;},
          {name:&#39;Konfiguration_Sensor_Box_Typ&#39;, width:&#39;80px&#39;, index:&#39;Konfiguration_Sensor_Box_Typ&#39;, editable:true, edittype:"select", editoptions:{value:"Amp:Amplifier;Dis:Distributor"}},
          {name:&#39;Konfiguration_Sensor_Box_Kanal&#39;, width:&#39;60px&#39;, index:&#39;Konfiguration_Sensor_Box_Kanal&#39;, editable:true, edittype:"select", editoptions:{value:"1:1;2:2;3:3;4:4"}, align:&#39;center&#39;},
          {name:&#39;Sensor_Typ&#39;, index:&#39;Sensor_Typ&#39;, editable:true, edittype:"select", formatter:&#39;select&#39;, editoptions:{value:"3:CO?;2:Humi?;4:Radon?;1:Temp?;5:Virtual"}},
          {name:&#39;Sensor_Messgroesse&#39;, index:&#39;Sensor_Messgroesse&#39;, editable:false, edittype:"select", editoptions:{value:"1:Temperature [&#176;C];2:Humidity rel [%rel];3:Humidity abs [g/m&#179;];4:CO2 [ppm];5:Impulse [n];6:Frequency [Hz]"}},
          {name:&#39;Konfiguration_Sensor_Platzierung&#39;, index:&#39;Konfiguration_Sensor_Platzierung&#39;, editable:true, edittype:&#39;text&#39;},
          {name:&#39;Konfiguration_Sensor_Relais&#39;, width:&#39;60px&#39;, index:&#39;Konfiguration_Sensor_Relais&#39;, editable:true, edittype:"select", editoptions:{value:":;1:1;2:2;3:3;4:4;5:5;6:6"}, align:&#39;center&#39;},
          {name:&#39;Konfiguration_Sensor_Relais_Minimum&#39;, width:&#39;50px&#39;, index:&#39;Konfiguration_Sensor_Relais_Minimum&#39;, editable:true, edittype:&#39;text&#39;, align:&#39;center&#39;},
          {name:&#39;Konfiguration_Sensor_Relais_Maximum&#39;, width:&#39;50px&#39;, index:&#39;Konfiguration_Sensor_Relais_Maximum&#39;, editable:true, edittype:&#39;text&#39;, align:&#39;center&#39;},
          {name:&#39;Konfiguration_Sensor_Relais_Aktion&#39;, index:&#39;Konfiguration_Sensor_Relais_Aktion&#39;, editable:true, edittype:"select", editoptions:{value:":;System On:System On;System Off:System Off;Exhauster On:Exhauster On;Exhauster Off:Exhauster Off"}},
          {name:&#39;Konfiguration_Sensor_Bemerkung&#39;, index:&#39;Konfiguration_Sensor_Bemerkung&#39;, editable:true, edittype:&#39;text&#39;}
        ],
        sortname: &#39;Konfiguration_Sensor_Box asc, Konfiguration_Sensor_Box_Kanal&#39;,
        sortorder: "asc",
        rowNum:10,
        pager: &#39;#Konfigurationen_Pager&#39;+subgrid_table_id,
        viewrecords: true,
//      autowidth: true,
        width:"100%",
        shrinkToFit: false,
        height: "auto",

        // Events
        ondblClickRow: function(nId)
        {
          if(nId &#38;&#38; nId!=nSelectedLast)
          {
            $(this).jqGrid(&#39;restoreRow&#39;,nSelectedLast);
            nSelectedLast=nId;
          }
          
          // Datensatz &#228;ndern
          $(this).jqGrid(&#39;editRow&#39;, nId, true, fnPickdates); 
        },
      })

      // Grid Navigator
      $("#"+subgrid_table_id).jqGrid
      (
        &#39;navGrid&#39;,
        "#"+pager_id,
        {add:true, edit:false, del:false, search:false},
        {
          // Edit
        },
        {
          // Add
          recreateForm: true,
          closeAfterAdd: true
        },
        {
          // Delete
        },
        {},
        {}
      );
		},
	});

	// Grid Navigator
	$("#Konfigurationen_Table").jqGrid
  (
  	&#39;navGrid&#39;,
    "#Konfigurationen_Pager",
    {add:true, edit:false, del:false, search:false},
    {
    	// Edit
    },
    {
    	// Add
	    recreateForm: true,
      closeAfterAdd: true
    },
    {
    	// Delete
    },
    {},
    {}
  );



});
</pre>
]]></description>
        	        	<pubDate>Mon, 18 Jun 2012 09:21:53 +0300</pubDate>
        </item>
        <item>
        	<title>tony on undefined in subgrids with IE 9 &#38; JQGrid 4.4.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0#p26804</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0#p26804</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Our example page work fin with subgrids in IE9.</p>
<p>So little info is not enought to give you a help.</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 18 Jun 2012 09:13:12 +0300</pubDate>
        </item>
        <item>
        	<title>aw_jqgrid on undefined in subgrids with IE 9 &#38; JQGrid 4.4.0</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0#p26801</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/undefined-in-subgrids-with-ie-9-jqgrid-4-4-0#p26801</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>in IE9 JQGrid shows me a undefined line with every subgrid row, in FF everything is okay:</p>
<p>[Image Can Not Be Found]</p>
]]></description>
        	        	<pubDate>Sat, 16 Jun 2012 10:02:54 +0300</pubDate>
        </item>
</channel>
</rss>