<?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: jQuery(modwin).jqDrag is not a function</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function</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/jquerymodwinjqdrag-is-not-a-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>davidelewis on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p2320</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p2320</guid>
        	        	<description><![CDATA[<p>I finally found the solution <a href="/blog/?page_id=18/help/another-problem/page-1/post-2319/#p2319" target="_blank">here</a>!</p>
]]></description>
        	        	<pubDate>Fri, 03 Oct 2008 13:34:32 +0300</pubDate>
        </item>
        <item>
        	<title>amby on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1665</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1665</guid>
        	        	<description><![CDATA[<p>i saw the various posts , since i had the same problem.</p>
<p>in the include file</p>
<p>&#160;var minver = false;</p>
<p>remember that the filenames are</p>
<p>jqDnR.js , and jqModal.js</p>
<p>not</p>
<p>grid.jqModal.js , grid.jqDnR.js</p>
<p>Hope this helps someone.</p>
<p>amazing grid, Thanks</p>
<p>i have also created a C# class as a helper for my application</p>
<p>Code is given below</p>
<p>using System;<br />using System.Text;<br />using System.Collections;<br />using System.Data;<br />using System.Data.SqlClient;</p>
<p>namespace myapplication<br />{<br />&#160;&#160;&#160; /// &#60;summary&#62;<br />&#160;&#160;&#160; /// Description of Class1.<br />&#160;&#160;&#160; /// &#60;/summary&#62;<br />&#160;&#160;&#160; public class jqGrid<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; /* Variables to store the grid rendering values*/<br />&#160;&#160;&#160; &#160;&#160;&#160; ArrayList cols = new ArrayList();<br />&#160;&#160;&#160; &#160;&#160;&#160; jqGriddef vgrid;<br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; string pageno ;<br />&#160;&#160;&#160; &#160;&#160;&#160; DataSet ods ; <br />&#160;&#160;&#160; &#160;&#160;&#160; string keycol; <br />&#160;&#160;&#160; &#160;&#160;&#160; lib olib = new lib();<br />&#160;&#160;&#160; &#160;&#160;&#160; ArrayList actions = new ArrayList();<br />&#160;&#160;&#160; &#160;&#160;&#160; string imgpath = "&#39;/css/themes/green/images&#39;";<br />&#160;&#160;&#160; &#160;&#160;&#160; public jqGrid()<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; imgpath = "&#39;" + olib.getwebconfig("apppath","") + "/css/themes/green/images&#39;";<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public bool&#160; addcoldef(jqColdef vdef)<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // add the columns here<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; cols.Add(vdef);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return true;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public bool&#160; addcoldef(ArrayList vdef)<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; cols = vdef;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return true;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public bool addactiondef(ArrayList vdef)<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; actions = vdef;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return true;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public bool addgriddef(jqGriddef vdef )<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; vgrid = vdef;&#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return true;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public string getgrid()<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // generate the grid created and return the string <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; StringBuilder sb = new StringBuilder();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("jQuery(\\"{0}\\").jqGrid(",vgrid.gridelement);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.Append("{\\n");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("url:{0},",vgrid.url);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("datatype: \\"{0}\\",",vgrid.datatype);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("colNames:[");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine(getcellcaptions());<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("],");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("colModel:[");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // loop here for columns<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine(getcolmodel());<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // end of columns<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("],");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("pager: jQuery(&#39;{0}&#39;),",vgrid.pagerelement);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("rowNum:{0},",vgrid.pageLength);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("rowList:[{0}],",vgrid.pagelengthoptions);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("imgpath:{0} ,",imgpath);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("sortname: &#39;{0}&#39;,",vgrid.initialsort);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("height: &#39;{0}&#39;,","auto");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("viewrecords: true,");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("sortorder: \\"desc\\",");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // last option note no comma <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("caption: \\"{0}\\"",vgrid.caption);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("})");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat(".navGrid(&#39;{0}&#39;,",vgrid.pagerelement);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendLine("{refresh: true, edit: false, add: false, del: false, search: true});");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return sb.ToString();<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; private string getcellcaptions()<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; string cellcaptions = "";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; bool firstcol = true;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; foreach(jqColdef ocol in cols)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(firstcol){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; cellcaptions += "&#39;" + ocol.caption + "&#39;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; firstcol = false;<br />&#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; cellcaptions += ",&#39;" + ocol.caption + "&#39;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return cellcaptions;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; private string getcellfields()<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; string cellfields = "";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; bool firstcol = true;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; foreach(jqColdef ocol in cols)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#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; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(firstcol){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; cellfields += "&#39;" + ocol.name + "&#39;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; firstcol = false;<br />&#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; cellfields += ",&#39;" + ocol.name + "&#39;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return cellfields;<br />&#160;&#160;&#160; &#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; private string getcolmodel()<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; StringBuilder colmodel = new StringBuilder();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; bool firstcol = true;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; foreach(jqColdef ocol in cols)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(firstcol){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colmodel.Append("{");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colmodel.AppendFormat("name:&#39;{0}&#39;,index:&#39;{0}&#39;,width:{1},align:&#39;{2}&#39;,sortable:{3}\\n",<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;&#160;&#160;&#160;&#160;&#160;&#160; ocol.name,ocol.width,ocol.align,ocol.sortable.ToString().ToLower());<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colmodel.Append("}");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; firstcol = false;<br />&#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; colmodel.Append(",{");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colmodel.AppendFormat("name:&#39;{0}&#39;,index:&#39;{0}&#39;,width:{1},align:&#39;{2}&#39;,sortable:{3}\\n",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ocol.name,ocol.width,ocol.align,ocol.sortable.ToString().ToLower());<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colmodel.Append("}");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return colmodel.ToString();</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public string getjqdata()<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // return the JSON string<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; int rowcount = gettotrowcount();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; int pagecount = (rowcount/vgrid.pageLength) + 1;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; StringBuilder sb = new StringBuilder();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.Append("{");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("\\"page\\":\\"{0}\\",",pageno);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("\\"total\\":\\"{0}\\",",pagecount);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.AppendFormat("\\"records\\":\\"{0}\\",",rowcount);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.Append("\\"rows\\":[");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; getrows(sb);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // end rows<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sb.Append("]}");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return sb.ToString();<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; private string getrows(StringBuilder osb)<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // get the rows in JSON format <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; DataTable odt = null;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(ods != null)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(ods.Tables.Count &#62; 0 )<br />&#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; odt = ods.Tables[0];<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (odt ==null)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return "";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; bool firstrow = true;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; foreach(DataRow odr in odt.Rows)<br />&#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; // begin row<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; /*If the Action array is &#62; 0 then we need to add the actions to the grid <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;* add actions in the first column <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;* use the id to identify the item , no ajax in edit <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;* need to add the column model + col captions <br />&#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; if(firstrow)<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; &#160;&#160;&#160; osb.Append("{");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; firstrow = false;<br />&#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; osb.Append(",{");&#160;&#160;&#160; <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; osb.AppendFormat("\\"id\\":\\"{0}\\",",odr[keycol]);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; osb.AppendFormat("\\"cell\\":[");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; bool firstcol = true;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; foreach(jqColdef ocol in cols)<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; &#160;&#160;&#160; if(firstcol)<br />&#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; osb.AppendFormat(ocol.format,odr[ocol.name],odr[keycol]);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; firstcol = false;<br />&#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; osb.AppendFormat("," + ocol.format,odr[ocol.name],odr[keycol]);<br />&#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; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; osb.Append("]");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; // end row<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; osb.Append("}");</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return osb.ToString();<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public bool setjqdata(string vpageno ,string vkeycol, DataSet vds )<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pageno = vpageno;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ods = vds;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; keycol = vkeycol;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return true;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public int gettotrowcount()<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; DataRow odr = olib.getfirstrow(ods);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(odr != null)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return olib.getdatavalueint("totrows",odr);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }else{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return 0;<br />&#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; }<br />&#160;&#160;&#160; public struct jqColdef<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; public string&#160; name;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string caption;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string index;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string width;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string align;<br />&#160;&#160;&#160; &#160;&#160;&#160; public bool sortable;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string type ; <br />&#160;&#160;&#160; &#160;&#160;&#160; public string format ;<br />&#160;&#160;&#160; &#160;&#160;&#160; public bool searchable;<br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; // assume id = 0 , name = 1 <br />&#160;&#160;&#160; &#160;&#160;&#160; public jqColdef(string vcaption, string vname , string vindex, string vwidth , string valign , bool bsortable)<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; name = vname;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; index = vindex;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width = vwidth;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; align = valign;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortable = bsortable;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; caption = vcaption;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; type = "default";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format = "\\"{0}\\"";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; searchable = true;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; public jqColdef(string vcaption, string vname , string vindex, string vwidth , string valign , bool bsortable, string vtype, string vformat)<br />&#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; name = vname;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; index = vindex;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width = vwidth;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; align = valign;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortable = bsortable;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; caption = vcaption;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; type = vtype;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; searchable = true;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; switch(type)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; case "editlink":<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format = "\\"&#60;a href=&#39;edit.aspx?id={1}&#39;&#62;Edit&#60;/a&#62;\\"";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width="50";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; break;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; case "addlink":<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format = "\\"&#60;a href=&#39;add.aspx&#39;&#62;Add&#60;/a&#62;\\"";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width="50";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; break;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; case "deletelink":<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format = "\\"&#60;a href=&#39;delete.aspx?id={1}&#39;&#62;Delete&#60;/a&#62;\\"";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width="50";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; break;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; case "eadlink":<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format = "\\"&#60;a href=&#39;edit.aspx?id={1}&#39;&#62;Edit&#60;/a&#62;&#38;nbsp;&#38;nbsp;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format += "&#60;a href=&#39;add.aspx&#39;&#62;Add&#60;/a&#62;&#38;nbsp;&#38;nbsp;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format += "&#60;a href=&#39;delete.aspx?id={1}&#39;&#62;Delete&#60;/a&#62;\\"";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width="150";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; break;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; case "edlink":<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format = "\\"&#60;a href=&#39;edit.aspx?id={1}&#39;&#62;Edit&#60;/a&#62;&#38;nbsp;&#38;nbsp;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format += "&#60;a href=&#39;delete.aspx?id={1}&#39;&#62;Delete&#60;/a&#62;\\"";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width="100";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; break;<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; default:<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; format = vformat;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; break;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; <br />&#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; }<br />&#160;&#160;&#160; public struct jqGriddef{<br />&#160;&#160;&#160; &#160;&#160;&#160; public string gridelement;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string url;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string datatype;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string caption;<br />&#160;&#160;&#160; &#160;&#160;&#160; public int pageLength;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string pagelengthoptions;<br />&#160;&#160;&#160; &#160;&#160;&#160; public string pagerelement;&#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; public string initialsort;<br />&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160; <br />}</p>
<p>Hope this helps.</p>
]]></description>
        	        	<pubDate>Fri, 22 Aug 2008 05:42:34 +0300</pubDate>
        </item>
        <item>
        	<title>adexcube on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1661</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1661</guid>
        	        	<description><![CDATA[<p>It definitrively works for me !!</p>
<p>Just initialize the pager alone, not with the jqgrid and outside the ready(function)</p>
<p>jQuery("#list").navGrid(&#39;#pager&#39;,{edit:false,add:false,del:false,search:false});)</p>
]]></description>
        	        	<pubDate>Fri, 22 Aug 2008 04:57:51 +0300</pubDate>
        </item>
        <item>
        	<title>tony on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1251</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1251</guid>
        	        	<description><![CDATA[<p>I mean in the grid configuration - you have</p>
<p>...jqGrid({</p>
<p>....</p>
<p>pager: jQuery("#pager"),</p>
<p>....</p>
<p>pager : &#39;pager&#39;</p>
<p>})</p>
]]></description>
        	        	<pubDate>Thu, 24 Jul 2008 11:42:31 +0300</pubDate>
        </item>
        <item>
        	<title>davidelewis on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1250</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1250</guid>
        	        	<description><![CDATA[<p>I&#39;m not sure if I understand ... do I <span style="text-decoration: underline;">not need</span> to refer to the "pager" in the "jqGrid" attributes if also am using the "navgrid" function?</p>
<p>As for IE, the behaviour is the same as Firefox. I&#39;m sure I&#39;m configuring something incorrectly - I just don&#39;t know what! <img class="spSmiley" style="margin:0" title="Embarassed" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-embarassed.gif" border="0" alt="Embarassed" /></p>
]]></description>
        	        	<pubDate>Thu, 24 Jul 2008 11:39:58 +0300</pubDate>
        </item>
        <item>
        	<title>tony on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1249</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1249</guid>
        	        	<description><![CDATA[<p>Not sure if this is a problem, but you have set the pager two</p>
<p>times with two diffrent way. Remove the one and try in IE.</p>
</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 24 Jul 2008 11:32:23 +0300</pubDate>
        </item>
        <item>
        	<title>davidelewis on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1248</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1248</guid>
        	        	<description><![CDATA[<p>Yup, the stylesheets are being correctly referenced:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit385' value='Select Code' data-codeid='sfcode385' /></p>
<div class='sfcode' id='sfcode385'>&#60;link rel="stylesheet" type="text/css" media="screen" href="scripts/themes/green/grid.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="scripts/themes/jqModal.css" /&#62;</div>
</p>
<p>Using Firefox 3.0, everything in the grid is working properly with no JavaScript errors and only CSS warnings (for IE-specific tags). Only when I add the "navgrid" do I get errors. This is perplexing ....</p>
]]></description>
        	        	<pubDate>Thu, 24 Jul 2008 11:21:51 +0300</pubDate>
        </item>
        <item>
        	<title>tony on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1237</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1237</guid>
        	        	<description><![CDATA[<p>What about jqModal.css?</p>
]]></description>
        	        	<pubDate>Thu, 24 Jul 2008 02:40:06 +0300</pubDate>
        </item>
        <item>
        	<title>davidelewis on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1232</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1232</guid>
        	        	<description><![CDATA[<p>Even when I manually add all the scripts (as below) rather than using the loader - I get the same error. I also tried moving around script to different loactiosn, but the error still occurs ...</p>
<p><input type='button' class='sfcodeselect' name='sfselectit128' value='Select Code' data-codeid='sfcode128' /></p>
<div class='sfcode' id='sfcode128'>&#60;script src="scripts/jquery-1.2.6.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/min/grid.base-min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/min/grid.formedit-min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/min/grid.inlinedit-min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/min/grid.subgrid-min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/min/grid.custom-min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/min/grid.postext-min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/jquery.jqModal.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/jquery.jqDnR.js" type="text/javascript"&#62;&#60;/script&#62;</div>
<p>The problem only occurs when I add the:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2582' value='Select Code' data-codeid='sfcode2582' /></p>
<div class='sfcode' id='sfcode2582'>.navGrid(&#39;#pager&#39;, {<br />&#160;&#160;&#160; &#160;&#160;&#160; refresh: true, <br />&#160;&#160;&#160; &#160;&#160;&#160; edit: true, <br />&#160;&#160;&#160; &#160;&#160;&#160; add: true, <br />&#160;&#160;&#160; &#160;&#160;&#160; del: false, <br />&#160;&#160;&#160; &#160;&#160;&#160; search: true<br />&#160;&#160;&#160; });</div>
</p>
<p>Everything in the grid (styles, sorting, selection, etc.) work just fine.</p>
<p>Any other ideas?</p>
]]></description>
        	        	<pubDate>Wed, 23 Jul 2008 18:11:32 +0300</pubDate>
        </item>
        <item>
        	<title>davidelewis on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1226</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1226</guid>
        	        	<description><![CDATA[<p>I&#39;ll give it a try ...</p>
]]></description>
        	        	<pubDate>Wed, 23 Jul 2008 12:13:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1225</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1225</guid>
        	        	<description><![CDATA[<p>Since there is a maybe problem with a loader, could you please</p>
<p>load the modules one by one.</p>
<p>Thank you</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 23 Jul 2008 12:11:35 +0300</pubDate>
        </item>
        <item>
        	<title>davidelewis on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1224</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1224</guid>
        	        	<description><![CDATA[<p>Yup ... they are both included. The following four scripts are included:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3252' value='Select Code' data-codeid='sfcode3252' /></p>
<div class='sfcode' id='sfcode3252'>&#60;script src="scripts/jquery-1.2.6.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/jquery.jqModal.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="scripts/js/jquery.jqDnR.js" type="text/javascript"&#62;&#60;/script&#62;</div>
</p>
<p>As you can see, I moved them to a parent directory called "scripts", but I updated the "jQuery.jqGrid.js" file so that "pathtojsfiles = &#39;scripts/js/&#39;;" - as in documentation. Could this be causing a problem?</p>
]]></description>
        	        	<pubDate>Wed, 23 Jul 2008 11:59:26 +0300</pubDate>
        </item>
        <item>
        	<title>tony on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1207</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1207</guid>
        	        	<description><![CDATA[<p>Do you have included in the head section the</p>
<p>jqModal.js and jqDnR.js plugins ?</p>
]]></description>
        	        	<pubDate>Wed, 23 Jul 2008 03:38:07 +0300</pubDate>
        </item>
        <item>
        	<title>davidelewis on jQuery(modwin).jqDrag is not a function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1198</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquerymodwinjqdrag-is-not-a-function#p1198</guid>
        	        	<description><![CDATA[<p>I&#39;ve seen a few other postings with the same "jQuery(modwin).jqDrag is not a function" error - however I cannot find a documented solution!</p>
<p>Here&#39;s my source code ...</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5286' value='Select Code' data-codeid='sfcode5286' /></p>
<div class='sfcode' id='sfcode5286'>&#60;<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text/javascript"</span>&#62;<br />$(document).ready(function(){<br /> $("#grid").jqGrid({<br /> url:&#39;grid_param_redirect.jsp?baseUrl=https://david.nfis.org/wrt&#38;gdasUrl=https%3A%2F%2Fncr.cfsnet.nfis.org%2Fgdas%2Fgdas%3FService%3DGDAS%26Request%3DGetData%26Version%3D0.9.1%26FrameworkDomain%3Dcfsnet.nfis.org%26FrameworkVersion%3D1%26FrameworkName%3DFOBIG_COSEWIC_data%26DatasetDomain%3Dcfsnet.nfis.org%26DatasetName%3Dfobig%26Attribute%3Dtaxomic_group%2Cforest_association%2Cspecies_name_e%2Cscientific_name%2Csituation1999%2Csituation2004%2Csituation2005%2Csituation2006%2Csituation2007%2Csituation2008%2Clast_cosewic_reassessment%2Cthreats%2Cpopulation_trend%2Con_schedule1%2Cdistribution%2Chabitat%2Cecozone%2Ccomment%2Cid&#38;templateUrl=https://david.nfis.org/seedlist/grid_data.jsp&#38;cache=true&#39;,<br /> datatype: &#39;xml&#39;,<br /> colNames:[&#39;Geolinkage Field&#39;,&#39;taxomic_group&#39;,&#39;forest_association&#39;,&#39;species_name_e&#39;,&#39;scientific_name&#39;,&#39;situation1999&#39;,&#39;situation2004&#39;,&#39;situation2005&#39;,&#39;situation2006&#39;,&#39;situation2007&#39;,&#39;situation2008&#39;,&#39;last_cosewic_reassessment&#39;,&#39;threats&#39;,&#39;population_trend&#39;,&#39;on_schedule1&#39;,&#39;distribution&#39;,&#39;habitat&#39;,&#39;ecozone&#39;,&#39;comment&#39;,&#39;id&#39;],<br /> colModel :[<br /> {name: &#39;geolinkage_field&#39;, index: &#39;geolinkage_field&#39;, width: 120, sortable: true},<br /> {name: &#39;taxomic_group&#39;, index: &#39;taxomic_group&#39;, width: 120, sortable: true},<br /> {name: &#39;forest_association&#39;, index: &#39;forest_association&#39;, width: 120, sortable: true},<br /> {name: &#39;species_name_e&#39;, index: &#39;species_name_e&#39;, width: 120, sortable: true},<br /> {name: &#39;scientific_name&#39;, index: &#39;scientific_name&#39;, width: 120, sortable: true},<br /> {name: &#39;situation1999&#39;, index: &#39;situation1999&#39;, width: 120, sortable: true},<br /> {name: &#39;situation2004&#39;, index: &#39;situation2004&#39;, width: 120, sortable: true},<br /> {name: &#39;situation2005&#39;, index: &#39;situation2005&#39;, width: 120, sortable: true},<br /> {name: &#39;situation2006&#39;, index: &#39;situation2006&#39;, width: 120, sortable: true},<br /> {name: &#39;situation2007&#39;, index: &#39;situation2007&#39;, width: 120, sortable: true},<br /> {name: &#39;situation2008&#39;, index: &#39;situation2008&#39;, width: 120, sortable: true},<br /> {name: &#39;last_cosewic_reassessment&#39;, index: &#39;last_cosewic_reassessment&#39;, width: 120, sortable: true},<br /> {name: &#39;threats&#39;, index: &#39;threats&#39;, width: 120, sortable: true},<br /> {name: &#39;population_trend&#39;, index: &#39;population_trend&#39;, width: 120, sortable: true},<br /> {name: &#39;on_schedule1&#39;, index: &#39;on_schedule1&#39;, width: 120, sortable: true},<br /> {name: &#39;distribution&#39;, index: &#39;distribution&#39;, width: 120, sortable: true},<br /> {name: &#39;habitat&#39;, index: &#39;habitat&#39;, width: 120, sortable: true},<br /> {name: &#39;ecozone&#39;, index: &#39;ecozone&#39;, width: 120, sortable: true},<br /> {name: &#39;comment&#39;, index: &#39;comment&#39;, width: 120, sortable: true},<br /> {name: &#39;id&#39;, index: &#39;id&#39;, width: 120, sortable: true}],<br /> pager: jQuery(&#39;#pager&#39;),<br /> rowNum: 25,<br /> rowList:[25,50,100],<br /> viewrecords: true,<br /> imgpath: &#39;scripts/themes/green/images&#39;,<br /> height: 400,<br /> shrinkToFit: false,<br /> width: 800,<br /> caption: &#39;Forest Biodiversity Information Gateway&#39;,<br /> multiselect: true,<br /> pager: &#39;pager&#39;<br /> }).navGrid(&#39;#pager&#39;, {<br /> refresh: true, <br /> edit: true, <br /> add: true, <br /> del: false, <br /> search: true<br /> });<br /> $("#search").click(function() { <br /> $("#grid").searchGrid();<br /> });<br />});<br />&#60;/<span class="end-tag">script</span>&#62;<br />&#60;/<span class="end-tag">head</span>&#62;<br />&#60;<span class="start-tag">body</span>&#62;<br />&#60;<span class="start-tag">table</span><span class="attribute-name"> id</span>=<span class="attribute-value">"grid" </span><span class="attribute-name">class</span>=<span class="attribute-value">"scroll" </span><span class="attribute-name">cellpadding</span>=<span class="attribute-value">"0" </span><span class="attribute-name">cellspacing</span>=<span class="attribute-value">"0"</span>&#62;&#60;/<span class="end-tag">table</span>&#62;<br />&#60;<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">"pager" </span><span class="attribute-name">class</span>=<span class="attribute-value">"scroll" </span><span class="attribute-name">style</span>=<span class="attribute-value">"text-align: center;"</span>&#62;&#60;/<span class="end-tag">div</span>&#62;<br />&#60;<span class="start-tag">p</span><span class="attribute-name"> id</span>=<span class="attribute-value">"search"</span>&#62;Search&#60;/<span class="end-tag">p</span>&#62;<br />&#60;/<span class="end-tag">body</span>&#62;</div>
<pre id="line32"></pre>
<p>Suggestions? Thanks in advance ...</p>
]]></description>
        	        	<pubDate>Tue, 22 Jul 2008 17:23:13 +0300</pubDate>
        </item>
</channel>
</rss>