<?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: autowidth grid shrinks when grid is paged</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-grid-shrinks-when-grid-is-paged</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/autowidth-grid-shrinks-when-grid-is-paged/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on autowidth grid shrinks when grid is paged</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-grid-shrinks-when-grid-is-paged#p9662</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-grid-shrinks-when-grid-is-paged#p9662</guid>
        	        	<description><![CDATA[<p>Hello Jim,</p>
<p>Thanks. I see this. The setGridWidth method should be changed. I have the same problem in my project, I hope to correct this soon.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 13 Sep 2009 05:05:20 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on autowidth grid shrinks when grid is paged</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-grid-shrinks-when-grid-is-paged#p9639</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-grid-shrinks-when-grid-is-paged#p9639</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I submited this earlier today but I&#39;ve been playing and can add some more behavior that I noticed.</p>
<p>If the columns don&#39;t fill the grid the grid remains unchanged.</p>
<p>autowidth = true</p>
<p>Everytime the grid is paged (next or back) all of the&#160;columns shrink EXCEPT the last column gets bigger and the grid shrinks by a few pixels.&#160; Continous paging and the columns (and grid) keep getting smaller and smaller except for the last column get wider and wider.</p>
<p>thanks,&#160; Jim</p>
</p>
<p>Here is one of my grids:</p>
<p>&#60;script&#62;<br />// ********************************************************************************************<br />//&#160; Single Combined List Option<br />// ********************************************************************************************<br />&#160;&#160; &#160;$(document).ready(function()<br />&#160;&#160;{<br />&#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 ID&#39;,&#39;Priority&#39;,&#39;Site ID&#39;,&#39;Site Name&#39;,&#39;Status&#39;,&#39;Reported Problem&#39;,&#39;Created&#39;,&#39;Sort Date&#39;,&#39;Ref No&#39;,&#39;Acct Name&#39;,&#39;Email&#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"},&#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"},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_site_id&#39;,index:&#39;x_site_id&#39;,&#160; align:"center",sorttype:"text"},<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"},<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;&#160;&#160; {name:&#39;x_creation_dt&#39;,index:&#39;x_creation_dt&#39;, align:"center", formatter:&#39;date&#39;, formatoptions:{srcformat: &#39;m/d/Y H:i:s&#39;,newformat: &#39;&#60;cfoutput&#62;#session.myGridDateFormat#&#60;/cfoutput&#62;&#39;}},&#160;// m/d/Y H:i:s<br />&#160;&#160;&#160; &#160;&#160;{name:&#39;x_creation_sort_dt&#39;,index:&#39;x_creation_sort_dt&#39;, align:"center", hidden: true},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;x_cust_ref_no&#39;,index:&#39;x_cust_ref_no&#39;, search:true, sorttype:"text"},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;name&#39;,index:&#39;name&#39;, search:true, sorttype:"text"},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;e_mail&#39;,index:&#39;e_mail&#39;, search:true, sorttype:"text", formatter:&#39;email&#39;},<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").css("text-decoration","underline").css("cursor","pointer");&#160; // change col 1 to note it&#39;s a link<br />&#160;&#160;&#160;&#160;$("#"+rowid+" td:eq(3)").css("color", "00748C").css("text-decoration","underline").css("cursor","pointer");&#160; // change 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").css("border-style","none");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;<br />&#160;&#160;&#160;&#160;&#160; else<br />&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#"+rowid+" td:eq(0)").css("border-style","none");&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160; }&#160;<br />&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;autowidth: true,<br />&#160;&#160;&#160;&#160;onCellSelect: function(rowid,iCol,cellcontent){<br />&#160;&#160;&#160;&#160;&#160; //alert (rowid,iCol,cellcontent);<br />&#160;&#160;&#160;&#160;&#160;&#160; if (iCol == 1)<br />&#160;&#160;&#160;&#160;&#160;&#160; {window.location.href = "case-details.cfm?cid="+cellcontent;}<br />&#160;&#160;&#160;&#160; if (iCol == 3)<br />&#160;&#160;&#160;&#160;&#160;&#160; {window.location.href = "site-config.cfm?DoThis=L&#38;sid="+cellcontent;}<br />&#160;&#160;&#160;&#160;},<br />&#160;&#160;&#160;&#160;onSortCol : function (colname, colindex) {<br />&#160;&#160;&#160;&#160;&#160;if(colname == "x_creation_dt") {<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#slist").setGridParam({sortname:"x_creation_sort_dt"});<br />&#160;&#160;&#160;&#160;&#160;&#160;//no need to use triger reloadgrid<br />&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;cellEdit: false,<br />&#160;&#160;&#160;&#160;pager: $(&#39;#pager&#39;), //,#pager2 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;sortorder: "", //Default sort order - desc<br />&#160;&#160;&#160;&#160;recreateFilter : true,<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;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;postdata: "",&#160; // my account<br />&#160;&#160;&#160;&#160;toolbar:[false,"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; gridComplete:function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //&#160; Adjust grid to fill the screen, var gw used below see ******<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var gw = parseInt($("#slist").getGridParam("width")); <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.myGridOC_Site_Name#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hidesite == 0){<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;// Show the Account Name column per user settings <br />&#160;&#160;&#160;&#160;&#160;&#160;var hideacctname = &#60;cfoutput&#62;#session.myGridOC_Acct_Name#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hideacctname == 0){<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#slist").hideCol("name");<br />&#160;&#160;&#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;// Show the Account Email column per user settings <br />&#160;&#160;&#160;&#160;&#160;&#160;var hideacctemail = &#60;cfoutput&#62;#session.myGridOC_Acct_Email#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hideacctemail == 0){<br />&#160;&#160;&#160;&#160; &#160;&#160;$("#slist").hideCol("e_mail");<br />&#160;&#160;&#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;// Show the x_cust_ref_no&#160; column per user settings <br />&#160;&#160;&#160;&#160;&#160;&#160;var hiderefno = &#60;cfoutput&#62;#session.myGridOC_Cust_Ref_No#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hiderefno == 0){<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#slist").hideCol("x_cust_ref_no");<br />&#160;&#160;&#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;// ****&#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#slist").setGridWidth(gw-0.01,true);&#160;&#160; // reset the grid width &#160;&#160;&#160;&#160;&#160;&#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;Site Name&#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:65, resizable:false<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;{name:"x_site_name",index:"x_site_name",align:"left", width:80, hidden:false, resizable:false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_creation_dt",index:"x_creation_dt", align:"left",formatter:&#39;date&#39;, formatoptions:{srcformat: &#39;d/m/Y H:i:s&#39;,newformat: &#39;&#60;cfoutput&#62;#session.myGridDateFormat#&#60;/cfoutput&#62;&#39;}, width:90, resizable:false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:"x_category",index:"x_category",align:"left", width:80, hidden:false, resizable: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:80, resizable:false},&#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:85, resizable:false},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_part_number",index:"x_part_number",align:"left", width:60, resizable:false},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_part_description",index:"x_part_description",align:"left", width: 80,&#160; resizable:false},<br />&#160;&#160;&#160;&#160;&#160;{name:"x_title",index:"x_title",align:"left", width: 80, resizable:false},<br />&#160;&#160;&#160;&#160;&#160;{name:&#39;mytyp&#39;, hidden:true, resizable: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: &#39;auto&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160; width:1000,<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; <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; 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;&#160;&#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; 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 hidesubsite = &#60;cfoutput&#62;#session.myGridSC_Site_Name#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hidesubsite == 1){<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#"+subgrid_table_id).hideCol("x_site_name");<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;},<br />&#160;&#160;&#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;&#160;&#160;// main grid code below<br />&#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,<br />&#160;&#160;&#160;&#160;{caption:"Filter",<br />&#160;&#160;&#160;&#160;&#160;&#160; Find:&#39;Search&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160; width:&#39;400&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160; checkInput:true,<br />&#160;&#160;&#160;&#160;&#160;&#160; top:200,<br />&#160;&#160;&#160;&#160;&#160;&#160; left:400,<br />&#160;&#160;&#160;&#160;&#160;&#160; sopt: [&#39;eq&#39;,&#39;ne&#39;,&#39;lt&#39;,&#39;le&#39;,&#39;gt&#39;,&#39;ge&#39;,&#39;bw&#39;,&#39;cn&#39;]&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;$("#slist").navGrid("#pager",{edit:false,add:false,del:false,searchtext:"Filter"}),</p>
]]></description>
        	        	<pubDate>Fri, 11 Sep 2009 14:30:24 +0300</pubDate>
        </item>
</channel>
</rss>