<?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: subGrid getting data but not showing up.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/subgrid-getting-data-but-not-showing-up</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/subgrid-getting-data-but-not-showing-up/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on subGrid getting data but not showing up.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/subgrid-getting-data-but-not-showing-up#p30302</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/subgrid-getting-data-but-not-showing-up#p30302</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Please look at your subgrid configuration. See our examples and note that you use xml which (if I remember) should set too.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Fri, 28 Feb 2014 11:35:55 +0200</pubDate>
        </item>
        <item>
        	<title>bhiers on subGrid getting data but not showing up.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/subgrid-getting-data-but-not-showing-up#p30290</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/subgrid-getting-data-but-not-showing-up#p30290</guid>
        	        	<description><![CDATA[<p><a href="http://s30.postimg.org/ve2c9puxt/subgridbroke.png"><img src="http://s30.postimg.org/ve2c9puxt/subgridbroke.png" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<div></div>
<div>Code is pretty simple,&#160;</div>
<div>
<p>$(function () {</p>
<p>$("#csv").jqGrid({</p>
<p>datatype : &#39;xml&#39;,</p>
<p>url: "data.php?sd=&#60;?php echo($startdate) ?&#62;&#38;ed=&#60;?php echo($enddate) ?&#62;&#38;agents=&#60;?php echo($csragents) ?&#62;",</p>
<p>mtype: "GET",</p>
<p>colNames: ["Agent", "Inbound Calls", "Inbound Talk Time", "Outbound Calls", "Outbound Talk Time", "Total Talk Time", "Session Time", "Pause Time", "Wait Time", "StartDate", "EndDate"],</p>
<p>colModel: [</p>
<p>{ name: "Agent", width: 100 },</p>
<p>{ name: "callsreceived", width: 100, align: "right" },</p>
<p>{ name: "callsreceivedtime", width: 100, align: "right" },</p>
<p>{ name: "outboundcalls", width: 100, align: "right" },</p>
<p>{ name: "outboundcalltime", width: 100, align: "right" },</p>
<p>{ name: "totaltalktime", width: 100, align: "right" },</p>
<p>{ name: "sessiontime", width: 100, align: "right" },</p>
<p>{ name: "pausetime", width: 100, align: "right" },</p>
<p>{ name: "waittime", width: 100, align: "right" },</p>
<p>{ name: "startdate", width: 100, align: "right", editrules: {edithidden:true}, hidden:true},</p>
<p>{ name: "enddate", width: 100, align: "right", editrules: {edithidden:true}, hidden:true},</p>
<p>],</p>
<p>pager: "#csvpager",</p>
<p>rowNum: 50,</p>
<p>rowList: [50, 100, 200],</p>
<p>sortname: "Agent",</p>
<p>sortorder: "desc",</p>
<p>viewrecords: true,</p>
<p>gridview: true,</p>
<p>autoencode: true,</p>
<p>autowidth: true,</p>
<p>height: "100%",</p>
<p>multiselect: false,</p>
<p>subGrid : true,</p>
<p>subGridUrl: &#39;subdata.php?q=2&#39;,</p>
<p>subGridModel: [{ name  : [&#39;Date&#39;,&#39;Queue&#39;,&#39;Number&#39;,&#39;Event&#39;,&#39;Event Time&#39;],</p>
<p>width : [200,200,200,200,200],</p>
<p>params : [&#39;Agent&#39;,&#39;startdate&#39;,&#39;enddate&#39;]}</p>
<p>],</p>
<p>caption: "CSR Queue"</p>
<p>});</p>
<p>});</p>
</p>
<p>The subgrid is getting the data .. watching the network tab in chrome dev tools</p>
<p>&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62;</p>
<p>&#60;rows&#62;</p>
<p>&#60;row&#62;</p>
<p>&#60;cell&#62;&#60;![CDATA[2014-01-22 12:58:38]]&#62;&#60;/cell&#62;</p>
<p>&#60;cell&#62;6&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;</p>
<p>&#60;cell&#62;&#60;![CDATA[PAUSE]]&#62;&#60;/cell&#62;</p>
<p>&#60;cell&#62;00:00:00&#60;/cell&#62;</p>
<p>&#60;/row&#62;</p>
<p>&#60;row&#62;</p>
<p>&#60;cell&#62;&#60;![CDATA[2014-01-22 12:59:25]]&#62;&#60;/cell&#62;</p>
<p>&#60;cell&#62;6&#60;/cell&#62;</p>
<p>&#60;cell&#62;&#60;/cell&#62;</p>
<p>&#60;cell&#62;&#60;![CDATA[UNPAUSE]]&#62;&#60;/cell&#62;</p>
<p>&#60;cell&#62;00:00:00&#60;/cell&#62;</p>
<p>&#60;/row&#62;</p>
<p>&#60;/rows&#62;</p>
</p>
<p>Can anyone tell me what I&#39;m doing wrong its driving me a bit nutty.</p>
</p>
</div>
<div></div>
]]></description>
        	        	<pubDate>Wed, 26 Feb 2014 17:11:24 +0200</pubDate>
        </item>
</channel>
</rss>