<?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: Using single XML for Grid and Subgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/using-single-xml-for-grid-and-subgrid</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/using-single-xml-for-grid-and-subgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Using single XML for Grid and Subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-single-xml-for-grid-and-subgrid#p28340</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-single-xml-for-grid-and-subgrid#p28340</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>It is very difficult to read your code.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 27 Feb 2013 09:50:40 +0200</pubDate>
        </item>
        <item>
        	<title>mod77 on Using single XML for Grid and Subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-single-xml-for-grid-and-subgrid#p28337</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-single-xml-for-grid-and-subgrid#p28337</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>there was a problem with the single quotes:</p>
<p>this line: root: "zips&#62;zip:has(&#39;id:contains(&#39;" + row_id + "&#39;)&#39;)&#62;images",</p>
<p>should be: root: "zips&#62;zip:has(id:contains(&#39;" + row_id + "&#39;))&#62;images",</p>
</p>
<p>so after some other changes the code works. Unfortunately the toolbar search doesn&#180;t seem to work:</p>
<p>TypeError: Cannot read property &#39;stype&#39; of undefined</p>
</p>
<p>Any ideas on this. Thx</p>
<p>Regards</p>
<p>Dom</p>
]]></description>
        	        	<pubDate>Wed, 27 Feb 2013 04:12:36 +0200</pubDate>
        </item>
        <item>
        	<title>mod77 on Using single XML for Grid and Subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-single-xml-for-grid-and-subgrid#p28329</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-single-xml-for-grid-and-subgrid#p28329</guid>
        	        	<description><![CDATA[<p class="p1">Hello,</p>
<p class="p1">I&#180;m using the following script from: <a href="http://stackoverflow.com/questions/5473755/jqgrid-with-subgrid-and-single-xml-file-as-input" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....e-as-input</a> with some modifications in my grid, but I always get the Error: Uncaught Error: Syntax error, unrecognized expression: zips&#62;zip:has(&#39;index:contains(&#39;2&#39;)&#39;)&#62;images i.e..</p>
<p class="p2">&#160;</p>
<p class="p1">Here&#180;s the XML I produce:</p>
<p class="p1">
<p><input type='button' class='sfcodeselect' name='sfselectit5223' value='Select Code' data-codeid='sfcode5223' /></p>
<div class='sfcode' id='sfcode5223'>
<p class=&#34;p1&#34;>&#60;zips&#62;</p>
<p class=&#34;p1&#34;>&#60;page&#62;0&#60;/page&#62;</p>
<p class=&#34;p1&#34;>&#60;total&#62;0&#60;/total&#62;</p>
<p class=&#34;p1&#34;>&#60;records&#62;0&#60;/records&#62;</p>
<p class=&#34;p1&#34;>&#60;zip&#62;</p>
<p class=&#34;p1&#34;>&#60;index&#62;1&#60;/index&#62;</p>
<p class=&#34;p1&#34;>&#60;studio&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ Adler ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/studio&#62;</p>
<p class=&#34;p1&#34;>&#60;zipname&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ test2.zip ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/zipname&#62;</p>
<p class=&#34;p1&#34;>&#60;timestamp&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ 01.01.1970 - 00:00 ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/timestamp&#62;</p>
<p class=&#34;p1&#34;>&#60;zipstatus&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ &#60;span style=&#34;color: green;&#34;&#62;OK&#60;/span&#62; ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/zipstatus&#62;</p>
<p class=&#34;p1&#34;>&#60;images&#62;</p>
<p class=&#34;p1&#34;>&#60;image&#62;</p>
<p class=&#34;p1&#34;>&#60;id&#62;1&#60;/id&#62;</p>
<p class=&#34;p1&#34;>&#60;name&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ DIA_000006.psd ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/name&#62;</p>
<p class=&#34;p1&#34;>&#60;orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ sofa6.tif ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;status&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ &#60;span style=&#34;color: green;&#34;&#62;OK&#60;/span&#62; ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/status&#62;</p>
<p class=&#34;p1&#34;>&#60;/image&#62;</p>
<p class=&#34;p1&#34;>&#60;/images&#62;</p>
<p class=&#34;p1&#34;>&#60;/zip&#62;</p>
<p class=&#34;p1&#34;>&#60;zip&#62;</p>
<p class=&#34;p1&#34;>&#60;index&#62;1&#60;/index&#62;</p>
<p class=&#34;p1&#34;>&#60;studio&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ Adler ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/studio&#62;</p>
<p class=&#34;p1&#34;>&#60;zipname&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ test.zip ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/zipname&#62;</p>
<p class=&#34;p1&#34;>&#60;timestamp&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ 01.01.1970 - 00:00 ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/timestamp&#62;</p>
<p class=&#34;p1&#34;>&#60;zipstatus&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ &#60;span style=&#34;color: green;&#34;&#62;OK&#60;/span&#62; ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/zipstatus&#62;</p>
<p class=&#34;p1&#34;>&#60;images&#62;</p>
<p class=&#34;p1&#34;>&#60;image&#62;</p>
<p class=&#34;p1&#34;>&#60;id&#62;1&#60;/id&#62;</p>
<p class=&#34;p1&#34;>&#60;name&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ DIA_000005.psd ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/name&#62;</p>
<p class=&#34;p1&#34;>&#60;orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ sofa5.tif ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;status&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ &#60;span style=&#34;color: green;&#34;&#62;OK&#60;/span&#62; ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/status&#62;</p>
<p class=&#34;p1&#34;>&#60;/image&#62;</p>
<p class=&#34;p1&#34;>&#60;image&#62;</p>
<p class=&#34;p1&#34;>&#60;id&#62;1&#60;/id&#62;</p>
<p class=&#34;p1&#34;>&#60;name&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ DIA_000004.psd ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/name&#62;</p>
<p class=&#34;p1&#34;>&#60;orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ sofa4.tif ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;status&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ &#60;span style=&#34;color: green;&#34;&#62;OK&#60;/span&#62; ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/status&#62;</p>
<p class=&#34;p1&#34;>&#60;/image&#62;</p>
<p class=&#34;p1&#34;>&#60;image&#62;</p>
<p class=&#34;p1&#34;>&#60;id&#62;1&#60;/id&#62;</p>
<p class=&#34;p1&#34;>&#60;name&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ DIA_000003.psd ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/name&#62;</p>
<p class=&#34;p1&#34;>&#60;orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ sofa3.tif ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;status&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ &#60;span style=&#34;color: green;&#34;&#62;OK&#60;/span&#62; ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/status&#62;</p>
<p class=&#34;p1&#34;>&#60;/image&#62;</p>
<p class=&#34;p1&#34;>&#60;image&#62;</p>
<p class=&#34;p1&#34;>&#60;id&#62;1&#60;/id&#62;</p>
<p class=&#34;p1&#34;>&#60;name&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ DIA_000002.psd ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/name&#62;</p>
<p class=&#34;p1&#34;>&#60;orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ sofa2.tif ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/orgname&#62;</p>
<p class=&#34;p1&#34;>&#60;status&#62;</p>
<p class=&#34;p1&#34;>&#60;![CDATA[ &#60;span style=&#34;color: green;&#34;&#62;OK&#60;/span&#62; ]]&#62;</p>
<p class=&#34;p1&#34;>&#60;/status&#62;</p>
<p class=&#34;p1&#34;>&#60;/image&#62;</p>
<p class=&#34;p1&#34;>&#60;/images&#62;</p>
<p class=&#34;p1&#34;>&#60;/zip&#62;</p>
<p class=&#34;p1&#34;>&#60;/zips&#62;</p>
<p class=&#34;p1&#34;>
</div>
<p class="p2">&#160;</p>
<p class="p1">And here&#180;s the Gird with my modifs:</p>
<p class="p1">
<p><input type='button' class='sfcodeselect' name='sfselectit9345' value='Select Code' data-codeid='sfcode9345' /></p>
<div class='sfcode' id='sfcode9345'>
<p class=&#34;p1&#34;>&#160; &#160; &#160; &#160; &#60;/script&#62;&#160; &#160; &#160; &#160; &#160; &#160; $(&#34;#list_&#60;?= $_GET[&#39;tab&#39;]; ?&#62;&#34;).jqGrid(&#39;filterToolbar&#39;, { searchOnEnter: false, enableClear: false });&#160; &#160; &#160; &#160; &#160; &#160; $(&#34;#list_&#60;?= $_GET[&#39;tab&#39;]; ?&#62;&#34;).jqGrid(&#39;navGrid&#39;,&#39;#pager_&#60;?= $_GET[&#39;tab&#39;]; ?&#62;&#39;,{edit:false,add:false,del:false,reload:true,search:false});&#160; &#160; &#160; &#160; &#160; &#160; });&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; });&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; rowNum:1000&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; height: &#34;100%&#34;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; gridview:true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; },&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; repeatitems: false&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; row:&#34;&#62;image&#34;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; root:&#34;zips&#62;zip:has(&#39;index:contains(&#39;&#34;+row_id+&#34;&#39;)&#39;)&#62;images&#34;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; xmlReader: {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ],&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#34;status&#34;, index:&#34;status&#34;, width:309, xmlmap:&#34;status&#34;}&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#34;orgname&#34;, index:&#34;orgname&#34;, width:309, xmlmap:&#34;orgname&#34;},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#34;name&#34;, index:&#34;name&#34;, width:277, xmlmap:&#34;name&#34;},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#34;id&#34;, &#160; index:&#34;id&#34;, &#160; width:30, xmlmap:&#34;id&#34;, key:true},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; colModel: [&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; datastr: myXMLdata,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; datatype:&#39;xmlstring&#39;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; colNames:[&#39;ID&#39;,&#39;Dateiname&#39;,&#39;Originalname&#39;,&#39;Status&#39;],&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $(&#34;#&#34; + subgrid_table_id).jqGrid( {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $(&#34;#&#34; + grid_id).html(&#34;&#60;table id=&#39;&#34; + subgrid_table_id + &#34;&#39;&#39;&#62;&#60;/table&#62;&#34;);&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var subgrid_table_id = grid_id + &#34;_t&#34;;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; subGridRowExpanded: function(grid_id, row_id) {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; toolbarfilter : true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; subGrid: true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; caption: &#34;Bildinfos sammeln&#34;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; //postData: {fotostudio: &#39;Adler&#39;, zipname: &#39;test.zip&#39;},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; },&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; myXMLdata = data; // save original XML data&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; if (data.nodeType) {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // test whether we have initial loadind and the &#34;data&#34; has XML type&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; loadComplete: function(data) {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; },&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; repeatitems: true&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; row: &#34;zip&#34;,&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; root: &#34;zips&#34;,&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; xmlReader : {&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; pager: &#39;#pager_&#60;?= $_GET[&#39;tab&#39;]; ?&#62;&#39;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; sortable: true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; sortorder: &#34;asc&#34;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; sortname: &#39;Fotostudio&#39;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; loadonce: true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; rownumbers:true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; viewrecords: true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ignoreCase: true,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; rowList:[25,50,100],&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; rowNum:25,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; height: 640,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ],&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#39;zipstatus&#39;,index:&#39;zipstatus&#39;, width:282, search:true, xmlmap:&#34;&#62;zipstatus&#34;}&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#39;datum&#39;,index:&#39;datum&#39;, width:282, search:true, xmlmap:&#34;&#62;timestamp&#34;},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#39;zipname&#39;,index:&#39;zipname&#39;, width:282, search:true, xmlmap:&#34;&#62;zipname&#34;},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#39;fotostudio&#39;,index:&#39;fotostudio&#39;, width:282, search:true, xmlmap:&#34;&#62;studio&#34;},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {name:&#39;index&#39;,index:&#39;index&#39;, width:30, search:true, xmlmap:&#34;&#62;index&#34;, key: true},&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; colModel:[&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; colNames:[&#39;ID&#39;,&#39;Fotostudio&#39;,&#39;Zipname&#39;,&#39;Datum&#39;,&#39;Status&#39;],&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; datatype: &#34;xml&#34;,&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; url: &#39;./include/php/flow1_ziplist.php&#39;,&#160; &#160; &#160; &#160; &#160; &#160; $(&#34;#list_&#60;?= $_GET[&#39;tab&#39;]; ?&#62;&#34;).jqGrid({var myXMLdata;</p>
<p class=&#34;p1&#34;>
</div>
<p class="p2">&#160;</p>
<p class="p1">I tested several other modifikations, but I always get not output with "Loading" when the subgrid opens via "+"&#8230; Thanks in advance&#8230;</p>
<p class="p2">&#160;</p>
<p class="p1">Dom</p>
]]></description>
        	        	<pubDate>Mon, 25 Feb 2013 12:28:59 +0200</pubDate>
        </item>
</channel>
</rss>