<?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 using json and cfc help</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/subgrid-using-json-and-cfc-help</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-using-json-and-cfc-help/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>sekhause on Subgrid using json and cfc help</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/subgrid-using-json-and-cfc-help#p23624</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/subgrid-using-json-and-cfc-help#p23624</guid>
        	        	<description><![CDATA[<p>Hi I am trying to use the great subrid feature with my jqgrid. However, I am having trouble with getting it to display.</p>
<p>Here is my javascript:</p>
</p>
<p>$(document).ready(function(){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuery(&#39;#list&#39;).jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jsonReader:{<br />&#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;root: "DATA",<br />&#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;page: "CURPAGE",<br />&#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;total: "TOTALPAGES",<br />&#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;records: "TOTALPAGES",<br />&#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;repeatitems: 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; &#160;&#160;&#160; &#160;id: "rowid",<br />&#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;subgrid: {root:"rows", repeatitems: true, cell: "cell", id:"id"}<br />&#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;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url: &#39;get_applicants.cfc?method=get_applicants&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#39;json&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;width: "auto",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;height: "auto",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mtype: "GET",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colNames: [&#39;Student ID&#39;,&#39;Last Name&#39;,&#39;First Name&#39;, &#39;County&#39;, &#39;Last School Attended&#39;, &#39;Last School County&#39;,<br />&#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;&#39;Major&#39;, &#39;GPA&#39;, &#39;UC Regents Scholar&#39;, &#39;Citizenship&#39;, &#39;Undergarduate&#39;, &#39;Enrolled&#39;, &#39;Unmet Need&#39;,<br />&#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;&#39;FAFSA&#39;, &#39;Submit Date&#39;, &#39;Save Date&#39;, &#39;ISMCAR&#39;, &#39;ISFLYD&#39;, &#39;ISANT&#39;,&#39;ISCOAT&#39;, &#39;ISKOER&#39;, &#39;ISSHOB&#39;, &#39;ISSPCK&#39;, &#39;ISPTR&#39;,<br />&#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;&#39;ISWB&#39;, &#39;ISBEN2&#39;, &#39;ISUCM&#39;, &#39;ISKRUS&#39;,&#39;ISCAF&#39;, &#39;ISREN&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#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;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;studentid&#39;,index:&#39;studentid&#39;, width:100, sortable:true, key:true},<br />&#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:&#39;last&#39;,index:&#39;last&#39;, width:200, sortable:true},<br />&#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:&#39;first&#39;,index:&#39;first&#39;,width:200, sortable:true},<br />&#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:&#39;county&#39;,index:&#39;county&#39;,width:200, sortable:true},<br />&#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:&#39;school&#39;,index:&#39;school&#39;, width:200, sortable:true},<br />&#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:&#39;schoolcounty&#39;,index:&#39;schoolcounty&#39;,width:200, sortable:true},<br />&#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:&#39;major&#39;,index:&#39;major&#39;,width:100, sortable:true},<br />&#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:&#39;gpa&#39;,index:&#39;gpa&#39;,width:100, sortable:true},<br />&#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:&#39;regents&#39;,index:&#39;regents&#39;,width:100, sortable:true},<br />&#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:&#39;citizenship&#39;,index:&#39;citizenship&#39;,width:100,sortable:true},<br />&#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:&#39;undergrad&#39;,index:&#39;undergrad&#39;,width:100, sortable:true},<br />&#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:&#39;enrolled&#39;,index:&#39;enrolled&#39;,width:100, sortable:true},<br />&#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:&#39;need&#39;,index:&#39;need&#39;,width:100, sortable:true},<br />&#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:&#39;fafsa&#39;,index:&#39;fafsa&#39;,width:100, sortable:true},<br />&#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:&#39;savedate&#39;,index:&#39;savedate&#39;,width:150,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; &#160;{name:&#39;submitdate&#39;,index:&#39;submit&#39;,width:150, sortable:true},<br />&#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:&#39;ismcar&#39;,index:&#39;ismcar&#39;,width:100},<br />&#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:&#39;isflyd&#39;,index:&#39;isflyd&#39;,width:100},<br />&#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:&#39;isant&#39;,index:&#39;isant&#39;,width:100},<br />&#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:&#39;iscoat&#39;,index:&#39;iscoat&#39;,width:100},<br />&#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:&#39;iskoer&#39;,index:&#39;iskoer&#39;,width:100},<br />&#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:&#39;isshob&#39;,index:&#39;isshob&#39;,width:100},<br />&#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:&#39;isspck&#39;,index:&#39;isspck&#39;,width:100},<br />&#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:&#39;isptr&#39;,index:&#39;isptr&#39;,width:100},<br />&#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:&#39;iswb&#39;,index:&#39;iswb&#39;,width:100},<br />&#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:&#39;isben&#39;,index:&#39;isben&#39;,width:100},<br />&#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:&#39;isucm&#39;,index:&#39;isucm&#39;,width:100},<br />&#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:&#39;iskrus&#39;,index:&#39;iskrus&#39;,width:100},<br />&#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:&#39;iscaf&#39;,index:&#39;iscaf&#39;,width:100},<br />&#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:&#39;isren&#39;,index:&#39;isren&#39;,width:100}<br />&#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;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;rownum: 10,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;rowList:[10,20,30],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#pager&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortorder: "asc",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;loadonce: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;caption: "List of Applicants",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;gridview: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;subGrid:true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;subGridUrl: "get_applicants.cfc?method=get_scholarships",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;subGridModel:[{<br />&#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: [&#39;StudentID&#39;, "Test"],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;width: [100, 100],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;params:[&#39;studentid&#39;]}]<br />&#160;&#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; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}).navGrid(&#39;#pager&#39;, {search:true, edit:false, add:false, del:false})<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;});</p>
</p>
<p>And here is the cfc method that the subgrid is calling:</p>
<p>&#60;cffunction name="get_scholarships" access="remote" returntype="json" output="false" securejson="false"&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;cfargument name="studentid" required="no" default="0&#8243; /&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfargument name="page" required="no" default="1&#8243; /&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;cfargument name="rows" type="numeric" default="10&#8243;&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;cfargument name="sidx" type="string" default=""&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;cfargument name="sord" type="string" default="ASC"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfargument name="nd" required="no" default="0&#8243;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfset var arrCases = ArrayNew(1)&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfquery name="get_sub_students" datasource=#Application.FACSSA#&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;select Student_ID "studentid" from FA_CSSA_Students<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; where Student_ID = &#39;#arguments.studentid#&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/cfquery&#62;</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#60;cfset start = ((arguments.page-1)*arguments.rows)+1&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfset end = (start-1) + arguments.rows&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfset i = 1&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfloop query="get_sub_students" startrow="#start#" endrow="#end#"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#60;cfset arrCases[i] = [#get_sub_students.studentid#]&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfset i = i + 1&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/cfloop&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfset totalPages = ceiling(get_sub_students.recordcount/arguments.rows)&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;cfset stcSubCases = {total=#totalPages#,page=#arguments.page#,records=#get_sub_students.recordcount#,rows = arrCases}&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#60;cfreturn stcSubCases&#62;<br />&#160;&#160; &#160;&#60;/cffunction&#62;</p>
<p>Using Firebug I get the following error:</p>
<div class="errorTitle focusRow subLogRow ">missing ) in parenthetical</div>
<div class="errorSourceBox errorSource-show focusRow subLogRow ">[Image Can Not Be Found]<a class="errorSource a11yFocus " title="b.data(j);var c=this,e=j,k=true,n=false,a=i,r=/[$,%]/g,t=null,B=null,F=false,S=&#34;&#34;,J=[],N=true;if(typeof j==&#34;object&#34;&#38;&#38;j.push){if(j.length&#62;0)N=typeof j[0]!=&#34;object&#34;?false:true}else throw&#34;data provides is not an array&#34;;this._hasData=function(){return e===null?false:e.length===0?false:true};this._getStr=function(l){var m=[];n&#38;&#38;m.push(&#34;jQuery.trim(&#34;);m.push(&#34;String(&#34;+l+&#34;)&#34;);n&#38;&#38;m.push(&#34;)&#34;);k&#124;&#124;m.push(&#34;.toLowerCase()&#34;);return m.join(&#34;&#34;)};this._strComp=function(l){return typeof l==&#34;string&#34;?&#34;.toString()&#34;:" target="_blank">b.data(j);var c=this,e=j,k=true,n=fals&#8230;rn typeof l=="string"?".toString()": </a><a class="objectLink objectLink-sourceLink a11yFocus " target="_blank"></p>
<div class=" ">jquery&#8230;.min.js (line 15)</div>
<div class=" ">I also have error checking that sends me an email which gives me this error:</div>
<div class=" ">
<table class="cfdump_struct" border="0">
<tbody>
<tr>
<td class="struct" title="click to collapse">Detail:</td>
<td>If the component name is specified as a return type, its possible  that a definition file for the component cannot be found or is  not  accessible.</td>
</tr>
<tr>
<td class="struct" title="click to collapse">Message:</td>
<td>
<p>The value returned from the get_scholarships function is not of type json.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p></a></div>
<div class="errorSourceBox errorSource-show focusRow subLogRow ">Any suggests as to where I am going wrong?</div>
<div class="errorSourceBox errorSource-show focusRow subLogRow ">Thanks.</div>
]]></description>
        	        	<pubDate>Thu, 16 Jun 2011 01:32:40 +0300</pubDate>
        </item>
</channel>
</rss>