<?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: jsonReader issues</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues</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/jsonreader-issues/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3907</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3907</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Glad to see thet this is the problem. Go in the documentation page to read what is needed to configure this.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 09 Jan 2009 08:16:14 +0200</pubDate>
        </item>
        <item>
        	<title>brycekmartin on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3897</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3897</guid>
        	        	<description><![CDATA[<p>Do I have to manually include all of the modules for jqgrid?</p>
</p>
<p>I look at the code and I see the modules var, and I don&#39;t have any of them listed in my directory... maybe this is the problem?&#160; Its acting like it doesn&#39;t even recognize jqGrid({}) as a valid function.</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 13:15:32 +0200</pubDate>
        </item>
        <item>
        	<title>brycekmartin on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3896</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3896</guid>
        	        	<description><![CDATA[<p>It just keeps rolling up to the next option.&#160; If I remove that one, then i goes to the next and on and on.&#160; Has the formatting of the grid options changed?</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 10:56:51 +0200</pubDate>
        </item>
        <item>
        	<title>tony on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3895</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3895</guid>
        	        	<description><![CDATA[<p>If you remove the jsonReader from parameters what&#160; is&#160; happen?</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 10:39:54 +0200</pubDate>
        </item>
        <item>
        	<title>brycekmartin on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3894</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3894</guid>
        	        	<description><![CDATA[<p>Its not getting to that point.&#160; This is happening on the initial load of the page.</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 10:31:59 +0200</pubDate>
        </item>
        <item>
        	<title>tony on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3892</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3892</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I do not think that this is the problem.</p>
<p>Could you please post a part from data returned from the server?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 10:14:47 +0200</pubDate>
        </item>
        <item>
        	<title>brycekmartin on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3888</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3888</guid>
        	        	<description><![CDATA[<p>I have played with it a bit more and found that it just doesn&#39;t like the last parameter of the jsonReader option.&#160; If i put id:"0" after repeatitems then it gives me an error on id:"0".&#160; So I&#39;m not sure what is wrong, the format looks good to me, but maybe I&#39;m missing something.</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 10:08:36 +0200</pubDate>
        </item>
        <item>
        	<title>brycekmartin on jsonReader issues</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3885</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonreader-issues#p3885</guid>
        	        	<description><![CDATA[<p>Hey Tony,</p>
</p>
<p>Long time man.&#160; I love what you&#39;ve been doing with the grid and I love what you have done with the site.</p>
<p>I&#39;ve been looking at upgrading my grid to version 3.3 but I&#39;m having some trouble.&#160; When I run it I get an error.&#160; Firebug tells me that it doesn&#39;t like&#160; repeatitems:false&#160; in the jsonReader part.</p>
</p>
<p>here is the code...</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $("#results").jqGrid({<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; url: "SearchResults",<br />&#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; colNames: columnNames,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; colModel: columnModel,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; pager: jQuery(&#39;#pager2&#39;),<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowNum:20,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; rowList:null,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; imgpath:"images/images",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; sortname:&#39;hord&#39;,<br />&#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; sortorder:"desc",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; multiselect: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; width:gridwidth,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; height:&#39;100%&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onPaging: function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; saveSelected(iterLimit, orderList);<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; loadComplete: function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $(&#39;#cb&#39;).prev().remove();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if($("#results").getGridParam("records")==0){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; confirm("Error: no search results","Selection.jsp");<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; else<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; var page = $(&#39;#results&#39;).getGridParam("page");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var records = $(&#39;#results&#39;).getGridParam("records");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var recordsPP = $(&#39;#results&#39;).getGridParam("RowNum");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var x = records/recordsPP;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var returnArray = [];<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(x &#60; page)<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; iterLimit = records%recordsPP;<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; else <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; iterLimit = recordsPP;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; for(var i=1; i&#60;=iterLimit; i++)<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; $(&#39;#&#39;+i).children(&#39;td:first&#39;).next().addClass(&#39;link&#39;);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var ord = $(&#39;#&#39;+i).children(&#39;td:first&#39;).next().text();<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; returnArray = orderList.find(ord);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var truefalse = typeof returnArray;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if(truefalse != &#39;boolean&#39;)<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; &#160;&#160;&#160; $(&#39;#results&#39;).setSelection(i);<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; $(&#39;#&#39;+i).children(&#39;td:first&#39;).next().click(function(){<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; ord = $(this).text();<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; window.location.href = "Recap?ord="+ord+"&#38;pg="+page;<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; }<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; },<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; shrinkToFit: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jsonReader: {root: "rows",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; page: "page",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; total: "total",<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; records: "records",<br />&#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; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });&#160;&#160;&#160;</p>
<p>It was working with 3.0, but with I put in the code for 3.3 it started having issues.&#160; Also, I added the root, page, total, and records part since putting in 3.3 thinking maybe it needed them.&#160; Nothing seems to help.</p>
</p>
<p>Thanks for any help.</p>
<p>Bryce</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 09:29:26 +0200</pubDate>
        </item>
</channel>
</rss>