<?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: Issue with GridImport XML</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/issue-with-gridimport-xml</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/issue-with-gridimport-xml/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Meng Hai on Issue with GridImport XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/issue-with-gridimport-xml#p17147</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/issue-with-gridimport-xml#p17147</guid>
        	        	<description><![CDATA[<p>I just found out the problem.</p>
<p>It is the word "Function" in the 7th column for colNames</p>
<p>Apparently cant use the phrase "function" for colNames. Will this be rectified?</p></p>
]]></description>
        	        	<pubDate>Thu, 13 May 2010 17:41:05 +0300</pubDate>
        </item>
        <item>
        	<title>Meng Hai on Issue with GridImport XML</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/issue-with-gridimport-xml#p17145</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/issue-with-gridimport-xml#p17145</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I am using jquery 1.4.2 min.js.&#160; I tested this out in both jqgrid 3.6.4 and 3.6.5</p>
<p>I am trying to do a GridImport with a xml file. I used:</p>
<p>&#160;&#160;$("#gridmain").jqGrid(&#39;GridUnload&#39;); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#gridmain").jqGrid(&#39;jqGridImport&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;{&#160;impurl:"tt3.xml",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;imptype: "xml",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;mtype: "POST",<br />&#160;&#160;&#160; &#160;importComplete:function(){</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
</p>
<p>in the content of my tt3.xml file I noted that if I have&#160;6 columns of info, it is working fine. But when I had 7 columns, it gives this error in firefox firebug and doesn&#39;t display the grid:</p>
<div class="errorTitle focusRow  subLogRow ">JSON.parse</div>
<div class="errorSourceBox  errorSource-show focusRow subLogRow "><a class="errorSource a11yFocus " target="_blank">k.loadXML(f)}return k&#38;&#38;k.documentEleme&#8230; f.replace(/([.:[]])/g,"\$1&#8243;)}, </a></div>
<div class="errorSourceBox  errorSource-show focusRow subLogRow ">The content of the tt3.xml is shown below.</div>
<div class="errorSourceBox  errorSource-show focusRow subLogRow ">If I remove the last column eg:&#160; the &#60;colModel&#62; pair, &#60;colNames&#62; pair, and &#60;cell&#62; pair; there is&#160;no error and the grid display the result. I can&#39;t figure out why the 7th column is giving the error. Can someone help me please.</div>
<div class="errorSourceBox  errorSource-show focusRow subLogRow ">Thank you.</div>
<div class="errorSourceBox  errorSource-show focusRow subLogRow ">
<p>&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62;<br />&#60;roots&#62;&#160;&#160;&#160; &#60;grid&#62;&#60;url&#62;loadcompmark.php.php?q=1&#60;/url&#62;&#60;height&#62;340&#60;/height&#62;&#60;rowNum&#62;50&#60;/rowNum&#62; <br />&#60;colModel&#62;&#160; &#60;name&#62;SNo&#60;/name&#62;&#160; &#60;index&#62;SNo&#60;/index&#62;&#160; &#60;width&#62;15&#60;/width&#62;&#160; &#60;sortable&#62;false&#60;/sortable&#62;&#60;resizable&#62;true&#60;/resizable&#62;&#60;/colModel&#62; <br />&#60;colModel&#62;&#160; &#60;name&#62;Name&#60;/name&#62;&#160; &#60;index&#62;Name&#60;/index&#62;&#160; &#60;width&#62;200&#60;/width&#62; &#60;sortable&#62;false&#60;/sortable&#62; &#60;resizable&#62;true&#60;/resizable&#62;&#60;/colModel&#62;</p>
<p>&#60;colModel&#62;&#160; &#60;name&#62;1&#60;/name&#62;&#160; &#60;index&#62;1&#60;/index&#62;&#160; &#60;width&#62;80&#60;/width&#62; &#60;editable&#62;true&#60;/editable&#62;&#60;sortable&#62;false&#60;/sortable&#62; &#60;align&#62;center&#60;/align&#62; &#60;resizable&#62;true&#60;/resizable&#62;&#60;/colModel&#62; <br />&#60;colModel&#62;&#160; &#60;name&#62;2&#60;/name&#62;&#160; &#60;index&#62;2&#60;/index&#62;&#160; &#60;width&#62;80&#60;/width&#62; &#60;editable&#62;true&#60;/editable&#62;&#60;sortable&#62;false&#60;/sortable&#62; &#60;align&#62;center&#60;/align&#62; &#60;resizable&#62;true&#60;/resizable&#62;&#60;/colModel&#62; <br />&#60;colModel&#62;&#160; &#60;name&#62;3&#60;/name&#62;&#160; &#60;index&#62;3&#60;/index&#62;&#160; &#60;width&#62;80&#60;/width&#62; &#60;editable&#62;true&#60;/editable&#62;&#60;sortable&#62;false&#60;/sortable&#62; &#60;align&#62;center&#60;/align&#62; &#60;resizable&#62;true&#60;/resizable&#62;&#60;/colModel&#62; <br />&#60;colModel&#62;&#160; &#60;name&#62;4&#60;/name&#62;&#160; &#60;index&#62;4&#60;/index&#62;&#160; &#60;width&#62;80&#60;/width&#62; &#60;editable&#62;true&#60;/editable&#62;&#60;sortable&#62;false&#60;/sortable&#62; &#60;align&#62;center&#60;/align&#62; &#60;resizable&#62;true&#60;/resizable&#62;&#60;/colModel&#62; <br />&#60;colModel&#62;&#160; &#60;name&#62;5&#60;/name&#62;&#160; &#60;index&#62;5&#60;/index&#62;&#160; &#60;width&#62;80&#60;/width&#62; &#60;editable&#62;true&#60;/editable&#62;&#60;sortable&#62;false&#60;/sortable&#62; &#60;align&#62;center&#60;/align&#62; &#60;resizable&#62;true&#60;/resizable&#62;&#60;/colModel&#62;</p>
<p>&#60;colNames&#62;SNo&#60;/colNames&#62; <br />&#60;colNames&#62;Name&#60;/colNames&#62; <br />&#60;colNames&#62;(1) Composition 1 [50]&#60;/colNames&#62; <br />&#60;colNames&#62;(1) Composition 2 [50]&#60;/colNames&#62; <br />&#60;colNames&#62;(1) Composition 3 [50]&#60;/colNames&#62; <br />&#60;colNames&#62;(1) Composition 4 [50]&#60;/colNames&#62; <br />&#60;colNames&#62;(1) Functional Writing 1 [20]&#60;/colNames&#62;</p>
<p>&#60;datatype&#62;xml&#60;/datatype&#62;<br />&#60;mtype&#62;GET&#60;/mtype&#62;<br />&#60;forceFit&#62;true&#60;/forceFit&#62;<br />&#60;cellEdit&#62;true&#60;/cellEdit&#62;<br />&#60;cellsubmit&#62;clientArray&#60;/cellsubmit&#62;<br />&#60;shrinkToFit&#62;true&#60;/shrinkToFit&#62;<br />&#60;xmlReader&#62;&#160;&#160;&#160; &#60;root&#62;rows&#60;/root&#62;&#160;&#160;&#160; &#60;row&#62;row&#60;/row&#62;&#160;&#160;&#160; &#60;page&#62;rows&#62;page&#60;/page&#62;&#160;&#160;&#160; &#60;total&#62;rows&#62;total&#60;/total&#62;&#160;&#160;&#160; &#60;records&#62;rows&#62;records&#60;/records&#62;&#160;&#160;&#160; &#60;repeatitems&#62;true&#60;/repeatitems&#62;&#160;&#160;&#160; &#60;cell&#62;cell&#60;/cell&#62;&#160;&#160;&#160; &#60;id&#62;[id]&#60;/id&#62;&#160;&#160;&#160; &#60;userdata&#62;userdata&#60;/userdata&#62;&#60;/xmlReader&#62;</p>
<p>&#60;loadui&#62;enable&#60;/loadui&#62; &#60;toolbar&#62;false&#60;/toolbar&#62;&#60;scroll&#62;false&#60;/scroll&#62;&#60;recordtext&#62;Row(s)&#60;/recordtext&#62;&#60;loadtext&#62;Loading&#8230;&#60;/loadtext&#62;<br />&#60;/grid&#62;</p>
<p>&#60;rows&#62;<br />&#60;row id=&#39;1030&#39;&#62;</p>
<p>&#60;cell&#62;01&#60;/cell&#62;<br />&#60;cell&#62;&#60;![CDATA[TIFFANY THALIA GUNAWAN<br />&#60;input type=&#39;hidden&#39; id=&#39;noCols&#39; value=&#39;5&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala2&#39; value=&#39;3150&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb2&#39; value=&#39;50&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc2&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald2&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala3&#39; value=&#39;6825&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb3&#39; value=&#39;50&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc3&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald3&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala4&#39; value=&#39;6826&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb4&#39; value=&#39;50&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc4&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald4&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala5&#39; value=&#39;6827&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb5&#39; value=&#39;50&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc5&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald5&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala6&#39; value=&#39;3151&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb6&#39; value=&#39;20&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc6&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald6&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala7&#39; value=&#39;6829&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb7&#39; value=&#39;20&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc7&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald7&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala8&#39; value=&#39;6830&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb8&#39; value=&#39;20&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc8&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald8&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala9&#39; value=&#39;3152&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb9&#39; value=&#39;38&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc9&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald9&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala10&#39; value=&#39;6832&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb10&#39; value=&#39;32&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc10&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald10&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala11&#39; value=&#39;6835&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb11&#39; value=&#39;38&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc11&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald11&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala12&#39; value=&#39;6841&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb12&#39; value=&#39;32&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc12&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald12&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala13&#39; value=&#39;7649&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb13&#39; value=&#39;20&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc13&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald13&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala14&#39; value=&#39;7650&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb14&#39; value=&#39;40&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc14&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald14&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala15&#39; value=&#39;7651&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb15&#39; value=&#39;40&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc15&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald15&#39; value=&#39;&#39; /&#62;<br />&#60;input type=&#39;hidden&#39; id=&#39;hvala16&#39; value=&#39;7648&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalb16&#39; value=&#39;70&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvalc16&#39; value=&#39;1&#39; /&#62;&#60;input type=&#39;hidden&#39; id=&#39;hvald16&#39; value=&#39;&#39; /&#62;]]&#62;&#60;/cell&#62;</p>
<p>&#60;cell&#62;37&#60;/cell&#62;<br />&#60;cell&#62;37&#60;/cell&#62;<br />&#60;cell&#62;30&#60;/cell&#62;<br />&#60;cell&#62;34&#60;/cell&#62;<br />&#60;cell&#62;14&#60;/cell&#62;</p>
<p>&#60;/row&#62;<br />&#60;/rows&#62;</p>
<p>&#60;/roots&#62;</p>
</div>
]]></description>
        	        	<pubDate>Thu, 13 May 2010 17:16:39 +0300</pubDate>
        </item>
</channel>
</rss>