<?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: Custom xml and subGrid with only headers</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-xml-and-subgrid-with-only-headers</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/custom-xml-and-subgrid-with-only-headers/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Custom xml and subGrid with only headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-xml-and-subgrid-with-only-headers#p6880</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-xml-and-subgrid-with-only-headers#p6880</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>All is ok, but your in case of repeatitems=false you should define the mapping for the subgrid.</p>
<p>subGridModel: [{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; name: [&#39;Mercato&#39;, &#39;Nome&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; width: [50, 200],</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mapping: [&#39;id_mercato&#39;,...]</p>
<p>}]</p>
<p>This is missed into the docs. Sorry.</p>
<p>Thanks</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 25 May 2009 03:01:58 +0300</pubDate>
        </item>
        <item>
        	<title>Corrado on Custom xml and subGrid with only headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-xml-and-subgrid-with-only-headers#p6852</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-xml-and-subgrid-with-only-headers#p6852</guid>
        	        	<description><![CDATA[<p>Hi, with Firebug I&#39;m going deep into the problem.</p>
<p>In the file grid.subgrid.js at line 132:</p>
<p>$(sgmap.root+"&#62;"+sgmap.row, sjxml).each( function(){</p>
<p>I have</p>
<p>$(&#39;rowset&#62;elenco&#39;, sjxml).each( function(){</p>
<p>I inspect sjxml object and it has the correct xml document but each() is not execute.</p>
<p>With <a title="jQuery selector tester" href="http://www.woods.iki.fi/interactive-jquery-tester.html" target="_blank"><a href="http://www.woods.iki.fi/intera" rel="nofollow">http://www.woods.iki.fi/intera</a>.....ester.html</a> I tested that the selector rowset&#62;elenco is correct. So where is the problem.</p>
<p>Many thanks.</p>
]]></description>
        	        	<pubDate>Sat, 23 May 2009 01:17:52 +0300</pubDate>
        </item>
        <item>
        	<title>Corrado on Custom xml and subGrid with only headers</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-xml-and-subgrid-with-only-headers#p6843</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-xml-and-subgrid-with-only-headers#p6843</guid>
        	        	<description><![CDATA[<p>jquery 1.3.1<br />jqgrid 3.4.3</p>
<p>Hi, I want to use SubGrid and this is the main code I use:</p>
<p>$("#list1").jqGrid({<br />&#160;&#160;&#160; url: &#39;avanzataxml.asp&#39;,<br />&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160; xmlReader: {<br />&#160;&#160;&#160; &#160;&#160;&#160; root: &#39;rowset&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; row: &#39;elenco&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; repeatitems: false,<br />&#160;&#160;&#160; &#160;&#160;&#160; id: &#39;id_offerta&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; subgrid: {root: &#39;rowset&#39;, row: &#39;elenco&#39;, repeatitems: false}<br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; ...<br />&#160;&#160;&#160; subGrid: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; subGridUrl: &#39;include/avanzatafnz.asp?t=sub&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; subGridModel: [{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; name: [&#39;Mercato&#39;, &#39;Nome&#39;],<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; width: [50, 200]<br />&#160;&#160;&#160; &#160;&#160;&#160; }],<br />&#160;&#160;&#160; &#160;&#160;&#160; <br />avanzataxml.asp returns:<br />&#60;rowset&#62;<br />&#160;&#160;&#160; &#60;header/&#62;<br />&#160;&#160;&#160; &#60;elenco&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;nome&#62;ESSELUNGA&#60;/nome&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;partenza&#62;07/11/2008&#60;/partenza&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;scadenza&#62;21/11/2008&#60;/scadenza&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; ...<br />&#160;&#160;&#160; &#60;/elenco&#62;<br />&#160;&#160;&#160; ...<br />&#60;rowset&#62;</p>
<p>avanzatafnz.asp returns:<br />&#60;rowset&#62;<br />&#160;&#160;&#160; &#60;header currentPage="1" pageCount="1" recordCount="3" pageSize="3"/&#62;<br />&#160;&#160;&#160; &#60;elenco&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;id_mercato&#62;3&#60;/id_mercato&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;nome&#62;ESSELUNGA&#60;/nome&#62;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#60;Expr1002&#62;test&#60;/Expr1002&#62;<br />&#160;&#160;&#160; &#60;/elenco&#62;<br />&#160;&#160;&#160; ...<br />&#60;/rowset&#62;</p>
<p>Then main grid works greatly while the subgrid shows only table headers. What&#39;s wrong.</p>
<p>Many thanks.</p>
]]></description>
        	        	<pubDate>Fri, 22 May 2009 05:27:23 +0300</pubDate>
        </item>
</channel>
</rss>