<?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: Help changing from subgrid to grid as subgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-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/help-changing-from-subgrid-to-grid-as-subgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Jim P on Help changing from subgrid to grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4574</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4574</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I solved my problem by added a second jsonReader into the deifinition of the subGrid.&#160; I was following the example in the documentation (Oct 08)-page 87.</p>
<p>Perhaps you need to revise that example to show the jsonReader in that subGrid code block.</p>
<p>Thanks, Jim</p>
]]></description>
        	        	<pubDate>Wed, 11 Feb 2009 10:14:35 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Help changing from subgrid to grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4561</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4561</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You should check what you return from server. When you move from subgrid to grid as subgrid you should synchronoze the jsonRedear of the subgrid. The subgrid properties of the main grid in this case does not have sense.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 11 Feb 2009 00:21:41 +0200</pubDate>
        </item>
        <item>
        	<title>Jim P on Help changing from subgrid to grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4545</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4545</guid>
        	        	<description><![CDATA[<p>OK, I solved the sytax&#160;problem:&#160; Now my subgrid in a grid headings show up nut not the data.&#160; Firebug shows valid json subgrid data being returned but it&#39;s not showing in the grid.&#160; Do I need to change the json reader values?</p>
<p>Please help.&#160; thanks - Jim</p>
<p>&#160;&#60;script&#62;<br />&#160;$(document).ready(function()<br />&#160;&#160;{<br />&#160;&#160;&#160;$("#list").jqGrid(<br />&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;<a href="&#39;Users.cfc?method=GetAllCases&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#39;" target="_blank">url:&#39;Users.cfc?method=GetAllCases&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#39;</a>, //CFC that will return the users<br />&#160;&#160;&#160;&#160;datatype: &#39;json&#39;, //We specify that the datatype we will be using will be JSON<br />&#160;&#160;&#160;&#160;colNames:[&#39;Case Number&#39;,&#39;Priority&#39;,&#39;Site ID&#39;,&#39;Site Name&#39;,&#39;Status&#39;,&#39;Problem&#39;,&#39;Created&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;], //Column Names<br />&#160;&#160;&#160;&#160;//The Column Model to define the data. Note you can make columns non sortable, specify width, alignment, etc.<br />&#160;&#160;&#160;&#160;colModel :[<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;x_object_id&#39;,index:&#39;x_object_id&#39;, align:"center", sorttype:"string", width:80},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_priority&#39;,index:&#39;x_priority&#39;,&#160; align:"center", sorttype:"string", width:80},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_site_id&#39;,index:&#39;x_site_id&#39;,&#160; align:"center",sorttype:"string", width:90},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_site_name&#39;,index:&#39;x_site_name&#39;,&#160; align:"center",sorttype:"string", width:150},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_status&#39;,index:&#39;x_status&#39;,&#160; align:"center", sorttype:"string", width:100},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_title&#39;,index:&#39;x_title&#39;,&#160; align:"left", sorttype:"string", width:300},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_creation_dt&#39;,index:&#39;x_creation_dt&#39;,&#160; align:"center", sorttype:"string", width:200},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;objid&#39;,index:&#39;objid&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_object_objid&#39;,index:&#39;x_object_objid&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_parent_objid&#39;,index:&#39;x_parent_objid&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_parent_type&#39;,index:&#39;x_parent_type&#39;, hidden:true}<br />&#160;&#160;&#160;&#160;],<br />&#160;&#160;&#160;&#160;afterInsertRow : function(rowid,rowdata,rowelem) {<br />&#160;&#160;&#160;&#160;if (rowdata.x_parent_type == "children" &#38;&#38; rowdata.x_parent_objid == 0)<br />&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#"+rowid+" td:eq(0)").empty().unbind("click");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;&#160;<br />&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;width:1000,<br />&#160;&#160;&#160;&#160;pager: $(&#39;#pager&#39;), //The div we have specified, tells jqGrid where to put the pager<br />&#160;&#160;&#160;&#160;rowNum:20, //Number of records we want to show per page<br />&#160;&#160;&#160;&#160;//rowList:[4,8,12], //Row List, to allow user to select how many rows they want to see per page<br />&#160;&#160;&#160;&#160;sortorder: "desc", //Default sort order<br />&#160;&#160;&#160;&#160;sortname: "x_object_id", //Default sort column<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;//myDSN: "ClarifySMST", // pass in required vars<br />&#160;&#160;&#160;&#160;viewrecords: true, //Shows the nice message on the pager<br />&#160;&#160;&#160;&#160;imgpath: &#39;themes/coffee/images&#39;, //Image path for prev/next etc images<br />&#160;&#160;&#160;&#160;caption: &#39;Open Cases&#39;, //Grid Name<br />&#160;&#160;&#160;&#160;height:&#39;auto&#39;, //I like auto, so there is no blank space between. Using a fixed height can mean either a scrollbar or a blank space before the pager<br />&#160;&#160;&#160;&#160;recordtext:&#39;Total Records&#39;, //On the demo you will notice "7 Total Records" - The Total Reocrds text comes from here<br />&#160;&#160;&#160;&#160;pgtext:&#39;of&#39;,//You notice the 1/3, you can change the /. You can make it say 1 of 3<br />&#160;&#160;&#160;&#160;postdata: "",&#160; // my account<br />&#160;&#160;&#160;&#160;editurl:"Users.cfc?method=GetAllCases",//Not used right now.<br />&#160;&#160;&#160;&#160;toolbar:[true,"top"],//Shows the toolbar at the top. I will decide if I need to put anything in there later.<br />&#160;&#160;&#160;&#160;subGrid: true, // make it a subgrid<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; subGridRowExpanded: function(subgrid_id, row_id) {<br />&#160;&#160;&#160;&#160;&#160; // we pass two parameters<br />&#160;&#160;&#160;&#160;&#160;&#160; // subgrid_id is a id of the div tag created within a table<br />&#160;&#160;&#160;&#160;&#160;&#160; // the row_id is the id of the row<br />&#160;&#160;&#160;&#160;// If we want to pass additional parameters to the url we can use<br />&#160;&#160;&#160;&#160;// the method getRowData(row_id) - which returns associative array in type name-value<br />&#160;&#160;&#160;&#160;&#160;&#160; // here we can easy construct the following<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var subgrid_table_id;<br />&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160; var rowdata = jQuery("#list").getRowData(row_id);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; subgrid_table_id = subgrid_id+"_t";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#"+subgrid_id).html("&#60;table id=&#39;"+subgrid_table_id+"&#39; class=&#39;scroll&#39;&#62;&#60;/table&#62;");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#"+subgrid_table_id).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;<a href="&#34;Users.cfc?method=GetSubCases&#38;x_object_id=&#34;+rowdata.x_object_id" target="_blank">url:"Users.cfc?method=GetSubCases&#38;x_object_id="+rowdata.x_object_id</a>,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "json",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Subcase ID&#39;,&#39;Create D/T&#39;,&#39;Category&#39;,&#39;Priority&#39;,&#39;Status&#39;,&#39;Description&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_object_id",index:"x_object_id",width:80,key:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_creation_dt",index:"x_creation_dt",width:130},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_category",index:"x_category",width:80,align:"right"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_priority",index:"x_priority",width:80,align:"right"},&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_status",index:"x_status",width:100,align:"right",sortable:false},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_title",index:"x_title",width:100,align:"right",sortable:false}<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160; height: 100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:20,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; imgpath: &#39;themes/coffee/images&#39;, //Image path for prev/next etc images,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;num&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; sortorder: "asc"<br />&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;})<br />&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;<br />&#160;&#160;//&#160;&#160;subGridUrl: &#39;Users.cfc?method=GetSubCases&#39;, //CFC that will return the users<br />&#160;&#160;//&#160;&#160;subGridModel: [{<br />&#160;&#160;//&#160;&#160;&#160;&#160; name: [&#39;SubCase No&#39;,&#39;Priority&#39;,&#39;Creation Date&#39;,&#39;Problem&#39;], //Column Names<br />&#160;&#160;//&#160;&#160;&#160;&#160; width: [100, 100, 175, 300],<br />&#160;&#160;//&#160;&#160;&#160;&#160; params: [&#39;x_object_id&#39;]}<br />&#160;&#160;//&#160;&#160;],</p>
<p>&#160;&#160;&#160;&#160;//The JSON reader. This defines what the JSON data returned from the CFC should look like<br />&#160;&#160;&#160;&#160;jsonReader: {<br />&#160;&#160;&#160;&#160;&#160;root: "ROWS",<br />&#160;&#160;&#160;&#160;&#160;page: "PAGE",<br />&#160;&#160;&#160;&#160;&#160;total: "TOTAL",<br />&#160;&#160;&#160;&#160;&#160;records:"RECORDS",<br />&#160;&#160;&#160;&#160;&#160;cell: "",<br />&#160;&#160;&#160;&#160;&#160;id: "0",<br />&#160;&#160;&#160;&#160;&#160;subgrid: {root: "ROWS", repeatitems: true, cell: "",id:"0"}<br />&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;);&#160;&#160;&#160;<br />&#160;&#160;&#160;<br />&#160;&#160;}<br />&#160;);&#160; // end of document ready<br />&#160;<br />&#160;$("#t_list").css("color","red");<br />&#160;//</p>
<p>&#160;&#60;/script&#62;</p>
]]></description>
        	        	<pubDate>Tue, 10 Feb 2009 09:10:14 +0200</pubDate>
        </item>
        <item>
        	<title>Jim P on Help changing from subgrid to grid as subgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4538</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-changing-from-subgrid-to-grid-as-subgrid#p4538</guid>
        	        	<description><![CDATA[<p>I got my subgrid working.&#160; Now I want to change the subgrid to a Grid as s Subgrid.</p>
<p>I get the following error: <span class="objectBox objectBox-errorMessage hasBreakSwitch"></span>
</p>
<p>&#60;!--- &#60;cfset session.myacct = "268440464"&#62; ---&#62;<br />&#60;script src="jquery.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jqModal.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jqDnR.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#160;&#60;script&#62;<br />&#160;$(document).ready(function()<br />&#160;&#160;{<br />&#160;&#160;&#160;$("#list").jqGrid(<br />&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;<a href="&#39;Users.cfc?method=GetAllCases&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#39;" target="_blank">url:&#39;Users.cfc?method=GetAllCases&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#39;</a>, //CFC that will return the users<br />&#160;&#160;&#160;&#160;datatype: &#39;json&#39;, //We specify that the datatype we will be using will be JSON<br />&#160;&#160;&#160;&#160;colNames:[&#39;Case Number&#39;,&#39;Priority&#39;,&#39;Site ID&#39;,&#39;Site Name&#39;,&#39;Status&#39;,&#39;Problem&#39;,&#39;Created&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;], //Column Names<br />&#160;&#160;&#160;&#160;//The Column Model to define the data. Note you can make columns non sortable, specify width, alignment, etc.<br />&#160;&#160;&#160;&#160;colModel :[<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;x_object_id&#39;,index:&#39;x_object_id&#39;, align:"center", sorttype:"string", width:80},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_priority&#39;,index:&#39;x_priority&#39;,&#160; align:"center", sorttype:"string", width:80},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_site_id&#39;,index:&#39;x_site_id&#39;,&#160; align:"center",sorttype:"string", width:90},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_site_name&#39;,index:&#39;x_site_name&#39;,&#160; align:"center",sorttype:"string", width:150},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_status&#39;,index:&#39;x_status&#39;,&#160; align:"center", sorttype:"string", width:100},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_title&#39;,index:&#39;x_title&#39;,&#160; align:"left", sorttype:"string", width:300},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_creation_dt&#39;,index:&#39;x_creation_dt&#39;,&#160; align:"center", sorttype:"string", width:200},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;objid&#39;,index:&#39;objid&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_object_objid&#39;,index:&#39;x_object_objid&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_parent_objid&#39;,index:&#39;x_parent_objid&#39;, hidden:true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_parent_type&#39;,index:&#39;x_parent_type&#39;, hidden:true}<br />&#160;&#160;&#160;&#160;],<br />&#160;&#160;&#160;&#160;afterInsertRow : function(rowid,rowdata,rowelem) {<br />&#160;&#160;&#160;&#160;if (rowdata.x_parent_type == "children" &#38;&#38; rowdata.x_parent_objid == 0)<br />&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#"+rowid+" td:eq(0)").empty().unbind("click");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;&#160;<br />&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;width:1000,<br />&#160;&#160;&#160;&#160;pager: $(&#39;#pager&#39;), //The div we have specified, tells jqGrid where to put the pager<br />&#160;&#160;&#160;&#160;rowNum:20, //Number of records we want to show per page<br />&#160;&#160;&#160;&#160;//rowList:[4,8,12], //Row List, to allow user to select how many rows they want to see per page<br />&#160;&#160;&#160;&#160;sortorder: "desc", //Default sort order<br />&#160;&#160;&#160;&#160;sortname: "x_object_id", //Default sort column<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;//myDSN: "ClarifySMST", // pass in required vars<br />&#160;&#160;&#160;&#160;viewrecords: true, //Shows the nice message on the pager<br />&#160;&#160;&#160;&#160;imgpath: &#39;themes/coffee/images&#39;, //Image path for prev/next etc images<br />&#160;&#160;&#160;&#160;caption: &#39;Open Cases&#39;, //Grid Name<br />&#160;&#160;&#160;&#160;height:&#39;auto&#39;, //I like auto, so there is no blank space between. Using a fixed height can mean either a scrollbar or a blank space before the pager<br />&#160;&#160;&#160;&#160;recordtext:&#39;Total Records&#39;, //On the demo you will notice "7 Total Records" - The Total Reocrds text comes from here<br />&#160;&#160;&#160;&#160;pgtext:&#39;of&#39;,//You notice the 1/3, you can change the /. You can make it say 1 of 3<br />&#160;&#160;&#160;&#160;postdata: "",&#160; // my account<br />&#160;&#160;&#160;&#160;editurl:"Users.cfc?method=GetAllCases",//Not used right now.<br />&#160;&#160;&#160;&#160;toolbar:[true,"top"],//Shows the toolbar at the top. I will decide if I need to put anything in there later.<br />&#160;&#160;&#160;&#160;subGrid: true, // make it a subgrid</p>
<p>// problem is in this code - if commented out it works fine</p>
<p>&#160;&#160;&#160;&#160;subGridRowExpanded: function(subgrid_id, row_id) {<br />&#160;&#160;&#160;&#160;&#160; // we pass two parameters<br />&#160;&#160;&#160;&#160;&#160;&#160; // subgrid_id is a id of the div tag created within a table<br />&#160;&#160;&#160;&#160;&#160;&#160; // the row_id is the id of the row<br />&#160;&#160;&#160;&#160;// If we want to pass additional parameters to the url we can use<br />&#160;&#160;&#160;&#160;// the method getRowData(row_id) - which returns associative array in type name-value<br />&#160;&#160;&#160;&#160;&#160;&#160; // here we can easy construct the following<br />&#160;&#160;&#160;&#160;&#160;&#160; var subgrid_table_id;<br />&#160;&#160;&#160;&#160;&#160;&#160; subgrid_table_id = subgrid_id+"_t";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#"+subgrid_id).html("&#60;table id=&#39;"+subgrid_table_id+"&#39; class=&#39;scroll&#39;&#62;&#60;/table&#62;");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#"+subgrid_table_id).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="&#34;Users.cfc?method=GetSubCases&#38;q=2&#38;id=&#34;+row_id" target="_blank">url:"Users.cfc?method=GetSubCases&#38;q=2&#38;id="+row_id</a>,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "xml",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Subcase ID&#39;,&#39;Create D/T&#39;,&#39;Category&#39;,&#39;Priority&#39;,&#39;Statusl&#39;,&#39;Description&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_object_id",index:"x_object_id",width:80,key:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_creation_dt",index:"x_creation_dt",width:130},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_category",index:"x_category",width:80,align:"right"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_priority",index:"x_priority",width:80,align:"right"},&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_status",index:"x_status",width:100,align:"right",sortable:false},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_title",index:"x_title",width:100,align:"right",sortable:false}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;height: 100%,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:20,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; imgpath: gridimgpath,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;num&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; sortorder: "asc"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;&#160;&#160;<br />&#160;&#160;//&#160;&#160;subGridUrl: &#39;Users.cfc?method=GetSubCases&#39;, //CFC that will return the users<br />&#160;&#160;//&#160;&#160;subGridModel: [{<br />&#160;&#160;//&#160;&#160;&#160;&#160; name: [&#39;SubCase No&#39;,&#39;Priority&#39;,&#39;Creation Date&#39;,&#39;Problem&#39;], //Column Names<br />&#160;&#160;//&#160;&#160;&#160;&#160; width: [100, 100, 175, 300],<br />&#160;&#160;//&#160;&#160;&#160;&#160; params: [&#39;x_object_id&#39;]}<br />&#160;&#160;//&#160;&#160;],</p>
<p>&#160;&#160;&#160;&#160;//The JSON reader. This defines what the JSON data returned from the CFC should look like<br />&#160;&#160;&#160;&#160;jsonReader: {<br />&#160;&#160;&#160;&#160;&#160;root: "ROWS",<br />&#160;&#160;&#160;&#160;&#160;page: "PAGE",<br />&#160;&#160;&#160;&#160;&#160;total: "TOTAL",<br />&#160;&#160;&#160;&#160;&#160;records:"RECORDS",<br />&#160;&#160;&#160;&#160;&#160;cell: "",<br />&#160;&#160;&#160;&#160;&#160;id: "0",<br />&#160;&#160;&#160;&#160;&#160;subgrid: {root: "ROWS", repeatitems: true, cell: "",id:"0"}<br />&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;);&#160;&#160;&#160;<br />&#160;&#160;&#160;<br />&#160;&#160;}<br />&#160;);&#160; // end of document ready<br />&#160;<br />&#160;$("#t_list").css("color","red");<br />&#160;//</p>
<p>&#160;&#60;/script&#62;</p>
<p>&#60;/head&#62;</p>
<p>&#60;body&#62;</p>
<p>&#160;&#60;table id="list" class="scroll" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#160;&#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;<br />&#160;&#60;div id="mysearch"&#62;&#60;/div&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
<div class="errorTitle"><span class="objectBox objectBox-errorMessage hasBreakSwitch"></p>
<div class="errorTitle">syntax error</div>
<div class="errorSourceBox errorSource-syntax"><span class="errorSource">&#160;height: 100%,\\n</span></div>
<div class="errorSourceBox errorSource-syntax"></div>
<div class="errorSourceBox errorSource-syntax"><span class="errorSource">Here&#39;s my code.&#160; Any help would be appreciated - Jim</span></div>
</p>
<p></span></div>
]]></description>
        	        	<pubDate>Mon, 09 Feb 2009 14:51:40 +0200</pubDate>
        </item>
</channel>
</rss>