<?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: Formatter Problem</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-problem</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/formatter-problem/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Formatter Problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p9715</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p9715</guid>
        	        	<description><![CDATA[<p>Hello Piotr,</p>
<p>Thanks. I think that your information is old. You can do what you want using the custom formatter. In this case you have all the row data - see this:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:custom_formatter" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>....._formatter</a></p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 14 Sep 2009 23:11:32 +0300</pubDate>
        </item>
        <item>
        	<title>roznicki on Formatter Problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p9699</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p9699</guid>
        	        	<description><![CDATA[<p>Hello Tony</p>
<p>I can see that many developers have similiar problems (additional id in showlink).</p>
<p>Maybe You should think about some hidden(or not) fields in grid to store such an id.</p>
<p>I suggest another parameter in formatoptions.</p>
<p>Let&#39;s name it idValue (or idColumn) and set there name of id column.</p>
<p>If You would like I can write a little piece of code for You to make great jqGrid working like this.</p>
</p>
<p>Regard,</p>
<p>Piotr Roznicki</p></p>
]]></description>
        	        	<pubDate>Mon, 14 Sep 2009 13:26:55 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Formatter Problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p5427</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p5427</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>Currently to the formatter(showLink) we can pass only the the id and some other static values to the link. The problem is that the formatter is called on every field and not when the entry row is inserted. In the future I will think haw can pass values from the entry row.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 19 Mar 2009 05:31:44 +0200</pubDate>
        </item>
        <item>
        	<title>Jim P on Formatter Problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p5414</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-problem#p5414</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I have two columns in my grid that use the formatter (showlink) option.&#160; I assume that the ID value in the link is the current column value.&#160; My second coulumn link has the same ID value as the first column.</p>
<p>Col1:&#160; <a href="http://path/casedetails.cfm?ID=123456" target="_blank">http://path/casedetails.cfm?ID=123456</a>&#160; col value is 123456</p>
<p>Col2: <a href="http://path/sitedetails.cfm?ID=123456" target="_blank">http://path/sitedetails.cfm?ID=123456</a>&#160;&#160; col value is TB00885</p>
<p>The value of the ID should be TB008855, right.</p>
<p>Here&#39;s my code:</p>
<p>&#160;$(document).ready(function()<br />&#160;&#160;{<br />&#160;&#160;&#160;$("#slist").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:"text", width: 70<br />&#160;&#160;&#160;&#160;&#160; <strong>,formatter:&#39;showlink&#39;, formatoptions:{baseLinkUrl:&#39;casedetails.cfm&#39;}<br /></strong>&#160;&#160;&#160;&#160;&#160; },&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;{name:&#39;x_priority&#39;,index:&#39;x_priority&#39;,&#160; align:"center", sorttype:"text", width: 60},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_site_id&#39;,index:&#39;x_site_id&#39;,&#160; align:"center",sorttype:"text", width: 60<br />&#160;&#160;&#160;&#160;<strong>&#160;, formatter:&#39;showlink&#39;, formatoptions:{baseLinkUrl: &#39;sitedetails.cfm&#39;}<br /></strong>&#160;&#160;&#160;&#160;&#160;},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_site_name&#39;,index:&#39;x_site_name&#39;,&#160; align:"left",sorttype:"text"},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_status&#39;,index:&#39;x_status&#39;,&#160; align:"center", sorttype:"text", width: 60},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_title&#39;,index:&#39;x_title&#39;,&#160; align:"left", sorttype:"text"},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_creation_dt&#39;,index:&#39;x_creation_dt&#39;,&#160; align:"center", sorttype:"date"},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;objid&#39;,index:&#39;objid&#39;, hidden:true, search:false},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_object_objid&#39;,index:&#39;x_object_objid&#39;, hidden:true, search:false},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_parent_objid&#39;,index:&#39;x_parent_objid&#39;, hidden:true, search:false},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_parent_type&#39;,index:&#39;x_parent_type&#39;, hidden:true, search:false}<br />&#160;&#160;&#160;&#160;],<br />&#160;&#160;&#160;&#160;afterInsertRow : function(rowid,rowdata,rowelem) {<br />&#160;&#160;&#160;&#160;// $("#"+rowid+" td:eq(1)").css("color", "005D8C");&#160; // change font col 1 to note it&#39;s a link<br />&#160;&#160;&#160;&#160; //$("#"+rowid+" td:eq(3)").css("color", "00748C");&#160; // change font col 3 to note it&#39;s a link<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:900,<br />&#160;&#160;&#160;//&#160;onCellSelect: function(rowid,iCol,cellcontent){<br />&#160;&#160;&#160;//&#160;&#160;&#160; if (iCol == 1)<br />&#160;&#160;&#160;//&#160;&#160;&#160; {<br />&#160;&#160;&#160;//&#160;&#160;&#160; //alert (rowid,iCol,cellcontent);<br />&#160;&#160;&#160;//&#160;&#160;ColdFusion.Window.show("casedetails");<br />&#160;&#160;&#160;//&#160;&#160;//window.location.href = "casedetails.cfm?cid="+cellcontent; <br />&#160;&#160;&#160;//&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;//&#160; if (iCol == 3)<br />&#160;&#160;&#160;//&#160;&#160;&#160; {<br />&#160;&#160;&#160;//&#160;&#160;&#160;&#160; ColdFusion.Window.show("sitedetails");<br />&#160;&#160;&#160;//&#160;&#160;&#160;&#160; //window.location.href = "sitedetails.cfm?sid="+cellcontent; <br />&#160;&#160;&#160;//&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;//&#160;},<br />&#160;&#160;&#160;&#160;cellEdit: false,<br />&#160;&#160;&#160;&#160;//height:200,<br />&#160;&#160;&#160;&#160;//shrinktofit: true,<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: &#60;cfoutput&#62;#session.maxlines#&#60;/cfoutput&#62;, //Number of records we want to show per page <br />&#160;&#160;&#160;&#160;//rowList:[10,25,50,100], //Row List, to allow user to select how many rows they want to see per page<br />&#160;&#160;&#160;&#160;sortorder: "", //Default sort order - desc<br />&#160;&#160;&#160;&#160;sortname: "x_priority", //Default sort column<br />&#160;&#160;&#160;&#160;viewrecords: true, //Shows the nice message on the pager<br />&#160;&#160;&#160;&#160;imgpath: &#39;themes/basic/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;mtype:&#39;GET&#39;,<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; page of a total 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;//Things to do when grid is finished loading<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadComplete:function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;// Hide the site name column per user settings <br />&#160;&#160;&#160;&#160;&#160;&#160;var hidesite = &#60;cfoutput&#62;#session.SiteDD#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hidesite == 1){<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#slist").hideCol("x_site_name");<br />&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //We get the Userdata for the grid.<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var recorddata = $("#slist").getUserData();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //If the msg type is error, we do some CSS and change text color to red, otherwise its blue<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(recorddata.TYPE == "Error"){<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; $("#t_slist").css("color","red")<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }else{<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; $("#t_slist").css("color","blue")<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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Display the message in the toolbar<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#t_slist").html(recorddata.MSG)<br />&#160;&#160;&#160;&#160;&#160;&#160;},<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("#slist").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;q=2&#38;id=&#34;+row_id+&#34;&#38;x_object_id=&#34;+rowdata.x_object_id" target="_blank">url:"Users.cfc?method=GetSubCases&#38;q=2&#38;id="+row_id+"&#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;ID&#39;,&#39;Create D/T&#39;,&#39;Category&#39;,&#39;Priority&#39;,&#39;Status&#39;,&#39;Part Number&#39;,&#39;Part Desc&#39;,&#39;Description&#39;,&#39;&#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",key:true, align: "center", width:70<br />&#160;&#160;&#160;&#160;&#160;, formatter:&#39;showlink&#39;, formatoptions:{baseLinkUrl: &#39;prdetails.cfm&#39;,showAction:&#39;&#39;}<br />&#160;&#160;&#160;&#160;&#160;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_creation_dt",index:"x_creation_dt", align:"left",datefmt:"Y-m-d", sorttype:"date", width:70},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_category",index:"x_category",align:"left", width:70, hidden:false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_priority",index:"x_priority",align:"left", width:70},&#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_current_state",index:"x_current_state",align:"left", width:70},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_part_number",index:"x_part_number",align:"left", width:70},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_part_description",index:"x_part_description",align:"left"},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_title",index:"x_title",align:"left"},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;mytyp&#39;, hidden:true}<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: &#39;auto&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160; width:900,<br />&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;themes/basic/images&#39;, //Image path for prev/next etc images<br />&#160;&#160;&#160;&#160;&#160;&#160; cellEdit: false,<br />&#160;&#160;&#160;&#160;&#160;&#160; // change which fields to show <br />&#160;&#160;&#160;&#160;&#160;&#160; afterInsertRow : function(rowid,rowdata,rowelem) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; // $("#"+rowid+" td:eq(0)").css("color", "005D8C");&#160; // change font col 1 to note it&#39;s a link<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (rowdata.mytyp == "PR")<br />&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160; $("#"+subgrid_table_id).hideCol("x_priority");<br />&#160;&#160;&#160;&#160;&#160;&#160; $("#"+subgrid_table_id).setLabel("x_object_id","PR No.");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160; else<br />&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160; $("#"+subgrid_table_id).hideCol("x_part_number");<br />&#160;&#160;&#160;&#160; $("#"+subgrid_table_id).hideCol("x_part_description");<br />&#160;&#160;&#160;&#160; $("#"+subgrid_table_id).setLabel("x_object_id","SubCase No.");<br />&#160;&#160;&#160;&#160; }&#160;<br />&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160; // below for link on column data<br />&#160;&#160;&#160;&#160; onCellSelect: function(rowid,iCol,cellcontent){<br />&#160;&#160;&#160;&#160;&#160;&#160; if (iCol == 0)<br />&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // alert(rowdata.x_object_id); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (rowdata.x_object_id.indexOf( "PR") == 0)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160; ColdFusion.Window.show("prdetails");<br />&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; else<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160; ColdFusion.Window.show("casedetails");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160; }&#160; <br />&#160;&#160;&#160;&#160; },<br />&#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; //imgpath: &#39;themes/green/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; //The JSON reader. This defines what the JSON data returned from the CFC should look like<br />&#160;&#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;&#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;userdata: "USERDATA",<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;&#160;$.extend($.jgrid.search,{caption:"Filter",Find:&#39;Search&#39;,width:&#39;400&#39;,checkInput:true, top:200, left:400});<br />&#160;&#160;&#160;&#160;$("#slist").navGrid("#pager",{edit:false,add:false,del:false,searchtext:"Filter"}).navButtonAdd(&#39;#pager&#39;,{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:"To PDF", buttonimg:"images/pdf.png", onClickButton: function(){document.location.href=&#39;ExportTo.cfm?typ=p&#38;met=DumpCases&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#39;;}, position:"last", title:&#39;Export to PDF&#39; }).navButtonAdd(&#39;#pager&#39;,{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:"To Excel", buttonimg:"images/icon-xls.png", onClickButton: function(){document.location.href=&#39;ExportTo.cfm?typ=e&#38;met=DumpCases&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#39;;}, position:"last", title:&#39;Export to Excel&#39; })<br />&#160;&#160;&#160; ;</p>
]]></description>
        	        	<pubDate>Wed, 18 Mar 2009 10:20:38 +0200</pubDate>
        </item>
</channel>
</rss>