<?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: jqGrid dont works fine in IE</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-dont-works-fine-in-ie</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/jqgrid-dont-works-fine-in-ie/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>rafaelzago on jqGrid dont works fine in IE</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-dont-works-fine-in-ie#p24353</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-dont-works-fine-in-ie#p24353</guid>
        	        	<description><![CDATA[<p>I have created a jqGrid and it works fine on FF, but i don&#39;t have the same result on IE. <br />The problem is that the grid load just the head on IE but dont load the content.</p>
<p>$(function(){<br />&#160; $("#statuslist").jqGrid({<br />&#160;&#160;&#160; url:&#39;example.php&#39;,<br />&#160;&#160;&#160; autowidth:true,<br />&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160; colNames:[&#39;Servi&#231;o&#39;,&#39;Estado&#39;, &#39;Objetos&#39;,&#39;Primeiro&#39;,&#39;Inclus&#227;o&#39;,&#39;Dono&#39;,&#39;Identificador&#39;,&#39;Processado&#39;,&#39;Erro&#39;,&#39;Data do erro&#39;],<br />&#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;servico&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160; index:&#39;servico&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;estado&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index:&#39;estado&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;QUANTIDADE&#39;,&#160;&#160;&#160;&#160; index:&#39;QUANTIDADE&#39;,&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;FILENAME&#39;,&#160;&#160;&#160;&#160; index:&#39;FILENAME&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;AUTOENQTIME&#39;,&#160;&#160;&#160;&#160; index:&#39;AUTOENQTIME&#39;,&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;OBJUSERNAME&#39;,&#160;&#160;&#160;&#160; index:&#39;OBJUSERNAME&#39;,&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;OBJID&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index:&#39;OBJID&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;PROGRESS&#39;,&#160;&#160;&#160;&#160; index:&#39;PROGRESS&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;LECODE&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; index:&#39;LECODE&#39;,&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;Datadoerro&#39;,&#160;&#160;&#160;&#160; index:&#39;Datadoerro&#39;,&#160;&#160;&#160;&#160; width:90, align:&#39;right&#39;,&#160;&#160;&#160; sortable: false}<br />&#160;&#160; ],<br />&#160;&#160; xmlReader: {<br />&#160;&#160;&#160;&#160;&#160; root:"result",<br />&#160;&#160;&#160;&#160;&#160; row:"invoice",<br />&#160;&#160;&#160;&#160;&#160; page:"invoices&#62;currentpage",<br />&#160;&#160;&#160;&#160;&#160; total:"invoices&#62;totalpages",<br />&#160;&#160;&#160;&#160;&#160; records:"invoices&#62;totalrecords",<br />&#160;&#160;&#160;&#160;&#160; repeatitems:false,<br />&#160;&#160;&#160;&#160;&#160; id : "asin"<br />&#160; },<br />&#160;&#160;&#160; rowNum:-1,<br />&#160;&#160;&#160; sortname: &#39;servico&#39;,<br />&#160;&#160;&#160; sortorder: &#39;desc&#39;,<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; gridview: true<br />&#160; });<br />});</p>
<p>I load the grid with the method on my javascript using ajax</p>
<p>var mygrid = jQuery("#listlog")[0];<br />mygrid.addXmlData(xmlHttp.responseXML);</p>
<p>i don&#39;t really have the example.php file, mentioned on line<br />url:&#39;example.php&#39;, <br />but works fine on FF, if i remove the line, the grid are not created.</p>
<p>i tryed to use <br />&#160; $("#statuslist").jqGrid({<br />&#160;&#160;&#160; autowidth:true,<br />&#160;&#160;&#160; datatype: &#39;local&#39;,<br />&#160;&#160;&#160; mtype: &#39;GET&#39;,</p>
<p>&#160;&#160; &#160;and the line on my javascript<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;var message = xmlHttp.responseText;<br />&#160;&#160; &#160;jQuery("#statuslist").jqGrid(&#39;setGridParam&#39;,{datatype:&#39;xml&#39;}).trigger(&#39;reloadGrid&#39;);<br />&#160;&#160; &#160;mygrid.addXmlData(xmlHttp.responseXML);<br />&#160;&#160; &#160;<br />But didn&#39;t works too.</p>
<p>thanks</p>
]]></description>
        	        	<pubDate>Fri, 19 Aug 2011 23:52:26 +0300</pubDate>
        </item>
</channel>
</rss>