<?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: no data display with JQGrid and Turbogears </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears</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/no-data-display-with-jqgrid-and-turbogears/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears/page-2#p13571</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears/page-2#p13571</guid>
        	        	<description><![CDATA[<p>I got it to work.</p>
<p>Needed separate class to send data.</p>
]]></description>
        	        	<pubDate>Tue, 05 Jan 2010 19:52:16 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears/page-2#p13557</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears/page-2#p13557</guid>
        	        	<description><![CDATA[<blockquote>
<p>andrewwatts said:</p>
<p><small><em>Post edited 08:01 &#8211; 19/11/2009 by andrewwatts<br />Post edited 08:03 &#8211; 19/11/2009 by andrewwatts<br />Post edited 08:04 &#8211; 19/11/2009 by andrewwatts<br /></em></small></p>
<hr />
<p>Hello Ed, we spoke in the TG forum about this issue and I just stumbled on your posts here.</p>
<p>Now that I&#39;ve seen your code I can say a bit more and I believe you need to go back and double check all your script and css paths.&#160; If you followed the instructions at /jqgridwiki/doku.php?id=wiki:jquery_ui_intro you&#39;ll notice that you are missing the jquery ui script file and also that your locale file is in the wrong place (at least according to the installation).</p>
<p>I copied and pasted the code from your first post of this thread and get the error you describe. I fixed the js paths for my environment and the errors went away and the grid successfully renders.&#160; Here is a diff of what I changed (lines that begin with &#39;-&#39; are your original code, lines that begin with &#39;+&#39; are how I changed them)</p>
<p><input type='button' class='sfcodeselect' name='sfselectit605' value='Select Code' data-codeid='sfcode605' /></p>
<div class='sfcode' id='sfcode605'>&#160;&#160; &#60;title&#62;Sensadata 2.0&#60;/title&#62; <br />-&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; href=&#8221;css/redmond/jquery-ui-1.7.1.custom.css&#8221; /&#62;<br />+&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; href=&#8221;css/jquery-ui-1.7.2.custom.css&#8221; /&#62;<br />&#160;&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; href=&#8221;css/ui.jqgrid.css&#8221; /&#62;<br />&#160;<br />&#160;&#60;script src=&#8221;js/jquery-1.3.2.min.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />-&#60;script src=&#8221;i18n/grid.locale-en.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />+&#60;script type=&#8221;text/javascript&#8221; src=&#8221;/js/jquery-ui-1.7.2.custom.min.js&#8221;&#62;&#60;/script&#62;<br />+&#60;script src=&#8221;js/i18n/grid.locale-en.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#160;&#60;script src=&#8221;js/jquery.jqGrid.min.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#160;&#60;script type=&#8221;text/javascript&#8221;&#62;<br />&#160;jQuery(document).ready(function(){</div>
<p>Also, if it helps, here are the TG controller methods I used to test with.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7722' value='Select Code' data-codeid='sfcode7722' /></p>
<div class='sfcode' id='sfcode7722'>&#160;&#160;&#160; @expose(&#39;ui.templates.grid1&#39;)<br />&#160;&#160;&#160; def grid(self, *args, **kwargs):<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return dict()<br />&#160;&#160;&#160; <br />&#160;&#160;&#160; @expose(&#39;json&#39;)<br />&#160;&#160;&#160; def grid1(self, *args, **kwargs):<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; a_dict = {&#39;records&#39;: &#39;5&#39;, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#39;total&#39;: &#39;1&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#39;rows&#39;: [{&#39;cell&#39;: [&#39;10009901&#39;, &#39;0&#39;, &#39;"11024438"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279976&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;10009901&#39;, &#39;0&#39;, &#39;"11014912"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279977&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;10009901&#39;, &#39;4423&#39;, &#39;"11024421"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279978&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;10009901&#39;, &#39;4425&#39;, &#39;"11014910"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279979&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;12194001&#39;, &#39;0&#39;, &#39;"11083108"&#39;, &#39;0&#39;], &#39;id&#39;: &#39;279975&#39;}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#39;page&#39;: &#39;1&#39;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return a_dict</div>
<p>Again, simply updating the javascript src includes for my environment successfully rendered a chart using the rest of your code.</p>
<p>Hope this helps.</p>
<p>- Andrew</p>
</blockquote>
<hr />
<p>I have been working on other things and am now back to sorking on this section of my application. I had some selection fields on the top of the grid and moved them to a prior page.</p>
</p>
<p>The user selects the date and type of transaction, on submit the grid page is called. The issue now is really a Turbogears thing. If I have:</p>
<p>@expose(&#39;json&#39;)</p>
<p>def griddisplay:</p>
<p>......select data</p>
<p>return dict(....... proper form)</p>
</p>
<p>I get the data and no HTML.</p>
</p>
<p>If I change the @expose(&#39;jason&#39;) to @expose(template.name), I get the HTLM with no data.</p>
<p>How do I get both?</p>
]]></description>
        	        	<pubDate>Mon, 04 Jan 2010 22:29:03 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears/page-2#p12240</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears/page-2#p12240</guid>
        	        	<description><![CDATA[<p><img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
</p>
<p>Thanks to all of you that have helped with this! It is finally working! Hallelujah!!&#160;</p>
<p>I will be adding to the prototype I have now and am sure I will be asking for help in the future. The Jquery widget tools are just too good not to use with Turbogears.</p>
</p>
<p>I will continue to monitor this forum.</p>
</p>
<p>Thanks again.</p>
]]></description>
        	        	<pubDate>Fri, 20 Nov 2009 21:07:34 +0200</pubDate>
        </item>
        <item>
        	<title>notnow on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12194</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12194</guid>
        	        	<description><![CDATA[<p>I sort of  wondered about those paths, but figured that was where you had the files.</p>
<p>Ed<br />
Now we need to get a tw developer to develope jqquery as a widget with the tw2 core.  With the documentation available it might not be that difficult for them.  I may play with it, but I am not that strong of a developer, I'm just an accountant trying to write a school accounting application.</p>
]]></description>
        	        	<pubDate>Thu, 19 Nov 2009 12:39:46 +0200</pubDate>
        </item>
        <item>
        	<title>andrewwatts on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12151</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12151</guid>
        	        	<description><![CDATA[</p>
<p>Hello Ed, we spoke in the TG forum about this issue and I just stumbled on your posts here.</p>
<p>Now that I&#39;ve seen your code I can say a bit more and I believe you need to go back and double check all your script and css paths.&#160; If you followed the instructions at /jqgridwiki/doku.php?id=wiki:jquery_ui_intro you&#39;ll notice that you are missing the jquery ui script file and also that your locale file is in the wrong place (at least according to the installation).</p>
<p>I copied and pasted the code from your first post of this thread and get the error you describe. I fixed the js paths for my environment and the errors went away and the grid successfully renders.&#160; Here is a diff of what I changed (lines that begin with &#39;-&#39; are your original code, lines that begin with &#39;+&#39; are how I changed them)</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3207' value='Select Code' data-codeid='sfcode3207' /></p>
<div class='sfcode' id='sfcode3207'>&#160;&#160; &#60;title&#62;Sensadata 2.0&#60;/title&#62; <br />-&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; href=&#8221;css/redmond/jquery-ui-1.7.1.custom.css&#8221; /&#62;<br />+&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; href=&#8221;css/jquery-ui-1.7.2.custom.css&#8221; /&#62;<br />&#160;&#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; href=&#8221;css/ui.jqgrid.css&#8221; /&#62;<br />&#160;<br />&#160;&#60;script src=&#8221;js/jquery-1.3.2.min.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />-&#60;script src=&#8221;i18n/grid.locale-en.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />+&#60;script type=&#8221;text/javascript&#8221; src=&#8221;/js/jquery-ui-1.7.2.custom.min.js&#8221;&#62;&#60;/script&#62;<br />+&#60;script src=&#8221;js/i18n/grid.locale-en.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#160;&#60;script src=&#8221;js/jquery.jqGrid.min.js&#8221; type=&#8221;text/javascript&#8221;&#62;&#60;/script&#62;<br />&#160;&#60;script type=&#8221;text/javascript&#8221;&#62;<br />&#160;jQuery(document).ready(function(){</div>
<p>Also, if it helps, here are the TG controller methods I used to test with.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7085' value='Select Code' data-codeid='sfcode7085' /></p>
<div class='sfcode' id='sfcode7085'>&#160;&#160;&#160; @expose(&#39;ui.templates.grid1&#39;)<br />&#160;&#160;&#160; def grid(self, *args, **kwargs):<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return dict()<br />&#160;&#160;&#160; <br />&#160;&#160;&#160; @expose(&#39;json&#39;)<br />&#160;&#160;&#160; def grid1(self, *args, **kwargs):<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; a_dict = {&#39;records&#39;: &#39;5&#39;, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#39;total&#39;: &#39;1&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#39;rows&#39;: [{&#39;cell&#39;: [&#39;10009901&#39;, &#39;0&#39;, &#39;"11024438"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279976&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;10009901&#39;, &#39;0&#39;, &#39;"11014912"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279977&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;10009901&#39;, &#39;4423&#39;, &#39;"11024421"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279978&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;10009901&#39;, &#39;4425&#39;, &#39;"11014910"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279979&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {&#39;cell&#39;: [&#39;12194001&#39;, &#39;0&#39;, &#39;"11083108"&#39;, &#39;0&#39;], &#39;id&#39;: &#39;279975&#39;}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#39;page&#39;: &#39;1&#39;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return a_dict</div>
<p>Again, simply updating the javascript src includes for my environment successfully rendered a chart using the rest of your code.</p>
<p>Hope this helps.</p>
<p>- Andrew</p>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 23:57:13 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12149</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12149</guid>
        	        	<description><![CDATA[<p>How are you returning the html page the first time and just the data after that? Have you split into two methods, one with @expose (url page name) and the second with @expose("json")?</p>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 19:13:50 +0200</pubDate>
        </item>
        <item>
        	<title>notnow on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12145</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12145</guid>
        	        	<description><![CDATA[<p>I&#39;m using different data but this is what I copied from response</p>
<div class="netInfoResponseText netInfoText ">
<pre><code>{"records": "3", "total": "1",<br />&#160;"rows": [{"cell": ["Bolivar Elementary", "445 Nuckolls Road",<br />&#160;"Bolivar"</code><code>, "TN", "38008", "Pre k - 5"], "id": "1"},<br />&#160;{"cell": ["Bolivar Middle School", "915 Pruitt St",<br />&#160;"Bolivar"</code><code>, "TN", "38008", "6 - 8"], "id": "2"},<br />&#160;{"cell": ["Bolivar Central Highschool", "313 Harris St.",<br />&#160;"Bolivar"</code><code>, "TN", "38008", "9 - 12"], "id": "3"}], "page": "1"}<br /><br />This is with regular json.  This looks close to what you showed on your first post.<br /><br />return dict(page=str(page),total=str(totPages), records=str(records),rows=rows)</code></pre>
</div>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 16:38:18 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12140</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12140</guid>
        	        	<description><![CDATA[<blockquote>
<p>notnow said:</p>
<p>As far as I can tell, the controller, html, and scripts from your first post looks about the same as my application.&#160; In fact I emulated your setup with my application and just changed to &#39;get&#39; and it worked.&#160; Can you help with css when you get yours displaying.&#160; I am getting a&#160; &#8220;404 Not Found&#8221; when I click edit in firebug in the css section.<img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p>
</blockquote>
<hr />
<p>How are you generating your response? Are you using a "return dict( page=page, ........) or some other way??&#160; Can you send the raw response?</p>
<p>I think this is where I am having my issues?</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 14:22:01 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12136</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12136</guid>
        	        	<description><![CDATA[<p>I am glad someone has been able to get this to work. I have upgraded to grid3.6, gone to the Lightness UI, and switched to the /src .js code.</p>
<p>The response is:</p>
<p>HTTP/1.0 200 OK<br />Server: PasteWSGIServer/0.5 Python/2.5.4<br />Date: Mon, 16 Nov 2009 03:18:45 GMT<br />Pragma: no-cache<br />Cache-Control: no-cache<br />Content-Type: text/html; charset=utf-8<br />Content-Length: 260</p>
</p>
<p>{page:&#8221;1&#8243;,total:&#8221;1&#8243;,records:&#8221;5&#8243;, rows:[{"279976","10009901","0","None","None"}{"279977","10009901","0","11014912","None"},{"279978","10009901","4423","11024421","None"},{"279979","10009901","4425","11014910","None"},{"279975","12194001","0","11083108","1"},]}</p>
</p>
<p>With NO cr/lf in the data, one long string.</p>
<p>I am getting an error "invalid object initializer"&#160; at line 59 of grid.base.js</p>
</p>
<p>parse : function(jsonString) {<br />&#160;&#160;&#160; &#160;&#160;&#160; var js = jsonString, msg;<br />&#160;&#160;&#160; &#160;&#160;&#160; if (js.substr(0,9) == "while(1);") { js = js.substr(9); }<br />&#160;&#160;&#160; &#160;&#160;&#160; if (js.substr(0,2) == "/*") { js = js.substr(2,js.length-4); }<br />&#160;&#160;&#160; &#160;&#160;&#160; if(!js) { js = "{}"; }<br />&#160;&#160;&#160; &#160;&#160;&#160; ($.jgrid.useJSON===true &#38;&#38; typeof (JSON) === &#39;object&#39; &#38;&#38; typeof (JSON.parse) === &#39;function&#39;)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ? msg = JSON.parse(js)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; : msg = eval(&#39;(&#39; + js + &#39;)&#39;);&#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; &#60;&#60;&#60;&#60;&#60; THIS LINE<br />&#160;&#160;&#160; &#160;&#160;&#160; return&#160; msg.hasOwnProperty(&#39;d&#39;) ? msg.d : msg;<br />&#160;&#160;&#160; },<br />&#160;&#160;&#160; empty : function () {<br />&#160;&#160;&#160; &#160;&#160;&#160; while ( this.firstChild ) this.removeChild( this.firstChild );<br />&#160;&#160;&#160; },</p>
</p>
<p>Is this indicate the response is not formatted correctly? Incorrect quotes????</p>
</p>
<p>In all of this effort, I have identified that the location of files and sub-directories is most important. The CSS section includes and calls files based on the installation instructions. I would check all of the files and locations if you are getting the 404 error.</p>
</p>
<p>Thanks for all of the help.</p>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 13:50:44 +0200</pubDate>
        </item>
        <item>
        	<title>notnow on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12131</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12131</guid>
        	        	<description><![CDATA[<p>Just discovered css is working in ie, but getting message:</p>
<p><span class="objectBox objectBox-errorMessage hasBreakSwitch ">[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: <a href='file:///C:/Program%20Files/Mozilla%20Firefox/components/FeedProcessor.js' rel='nofollow' target="_blank">file:///C:/Program%20Files/Mozilla%20Firefox/components/FeedProcessor.js</a> :: FP_onStartRequest :: line 1440" data: no] from firefox</span></p>
</p>
<p>jquery-1.3.2</p>
<p>firefox 3.5.5</p>
<p>This may not be correct thread.&#160; I am trying to thread for turbogears folks, but I don&#39;t think this is unique to turbogears.</p></p>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 10:31:30 +0200</pubDate>
        </item>
        <item>
        	<title>notnow on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12092</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12092</guid>
        	        	<description><![CDATA[<p>As far as I can tell, the controller, html, and scripts from your first post looks about the same as my application.&#160; In fact I emulated your setup with my application and just changed to &#39;get&#39; and it worked.&#160; Can you help with css when you get yours displaying.&#160; I am getting a&#160; "404 Not Found" when I click edit in firebug in the css section.<img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p>
]]></description>
        	        	<pubDate>Tue, 17 Nov 2009 16:44:19 +0200</pubDate>
        </item>
        <item>
        	<title>notnow on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12085</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12085</guid>
        	        	<description><![CDATA[<p>I got the table to show by using &#39;GET&#39; instead of post, but am&#160; having css problems.<img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Tue, 17 Nov 2009 15:12:28 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12076</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12076</guid>
        	        	<description><![CDATA[<p>Is there a way to get the jqgrid.js code with the line feed/ carage returns? now I am getting the error &#39;invalid object initualizer&#39; and I can not determine where in the code.</p>
</p>
<p>If I set the datatype = &#39;jsonstring&#39; in the html, there is no request sent back to the host.</p>
]]></description>
        	        	<pubDate>Tue, 17 Nov 2009 12:41:15 +0200</pubDate>
        </item>
        <item>
        	<title>tony on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12046</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p12046</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Any error in the console.</p>
<p>Also in this case you should set cell to empty string in jsonReader: See here:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....eving_data</a></p>
<p><input type='button' class='sfcodeselect' name='sfselectit1279' value='Select Code' data-codeid='sfcode1279' /></p>
<div class='sfcode' id='sfcode1279'>
<p>jsonReader : {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; root: &#8220;rows&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; page: &#8220;page&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; total: &#8220;total&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; records: &#8220;records&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; repeatitems: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; cell: &#8220;&#8221;,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; id: &#8220;0&#8243;<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; },</p>
</div>
<p>Save the response to a file and try to load via data string - I mean&#160; - set datatype to jsonstring and put a part from the response in string an see the result.</p>
</p>
<p>Regards<br />Tony</p>
]]></description>
        	        	<pubDate>Tue, 17 Nov 2009 02:24:20 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11964</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11964</guid>
        	        	<description><![CDATA[<p>I must be doing something dumb. This is the exact return sent to the client after the form is displayed with no data.I thought this to be the correct format for the response and the Javascript is to read this and insert into the grid.</p>
<p>Any suggestions?<img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p>
<p>Does the content-type need to be "json"?</p>
<p>HTTP/1.0 200 OK<br />Server: PasteWSGIServer/0.5 Python/2.5.4<br />Date: Mon, 16 Nov 2009 03:18:45 GMT<br />Pragma: no-cache<br />Cache-Control: no-cache<br />Content-Type: text/html; charset=utf-8<br />Content-Length: 260</p>
<p>{page:"1",total:"1",records:"5", rows:[{"279976","10009901","0","None","None"},{"279977","10009901","0","11014912","None"},{"279978","10009901","4423","11024421","None"},{"279979","10009901","4425","11014910","None"},{"279975","12194001","0","11083108","1"},]}</p>
]]></description>
        	        	<pubDate>Sun, 15 Nov 2009 21:36:30 +0200</pubDate>
        </item>
        <item>
        	<title>tony on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11851</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11851</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>No jqGrid does not replace the table. It just add some additinal elements below and above it, but table stay the same. If you have FireBug you can easy see the the table is still here, and after that we populate the table with data.</p>
<p>I do not known what TurboGear do, so I can not&#160; give you some point to where you can start.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 12 Nov 2009 10:37:07 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11823</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11823</guid>
        	        	<description><![CDATA[<p>Hope this does not sound really dumb.</p>
<p>All of the response viewers are showing the full page without &#60;table id="list" class="scroll"&#62;&#60;/table&#62;<br /> being replaced with data.</p>
<p>Is the page supposed to load and then send the data request and load the data? I am thinking that Turbogears as I have it know is passing the page and the json data to the stack in TG2 and TG2 expects to do the replacement in the page.</p>
<p>If jqgrid is to do the replacement of&#160; &#60;table id="list" class="scroll"&#62;&#60;/table&#62; with the data then I need to change my TG2 code.</p>
<p>Thanks for your help. Tell me when I need to send payment for your time. <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 22:15:55 +0200</pubDate>
        </item>
        <item>
        	<title>tony on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11506</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11506</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think yes. In this case you should escape it by example:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5531' value='Select Code' data-codeid='sfcode5531' /></p>
<div class='sfcode' id='sfcode5531'>
<p>23:06:59,946 DEBUG [sensadata.controllers.root] <br />{&#39;records&#39;: &#39;5&#39;, &#39;total&#39;: &#39;1&#39;, <br />&#39;rows&#39;: [{&#39;cell&#39;: [&#39;10009901&#39;, &#39;0&#39;, &#39;\\"11024438\\"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279976&#39;},</p>
<p>...</p>
</div>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 04 Nov 2009 23:01:13 +0200</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11502</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11502</guid>
        	        	<description><![CDATA[<p>this is the log of the dist sent from the controller :</p>
</p>
<p>23:06:59,946 DEBUG [sensadata.controllers.root] <br />{&#39;records&#39;: &#39;5&#39;, &#39;total&#39;: &#39;1&#39;, <br />&#39;rows&#39;: [{&#39;cell&#39;: [&#39;10009901&#39;, &#39;0&#39;, &#39;"11024438"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279976&#39;}, <br />{&#39;cell&#39;: [&#39;10009901&#39;, &#39;0&#39;, &#39;"11014912"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279977&#39;}, <br />{&#39;cell&#39;: [&#39;10009901&#39;, &#39;4423&#39;, &#39;"11024421"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279978&#39;}, <br />{&#39;cell&#39;: [&#39;10009901&#39;, &#39;4425&#39;, &#39;"11014910"&#39;, &#39;None&#39;], &#39;id&#39;: &#39;279979&#39;}, <br />&#160;{&#39;cell&#39;: [&#39;12194001&#39;, &#39;0&#39;, &#39;"11083108"&#39;, &#39;0&#39;], &#39;id&#39;: &#39;279975&#39;}],<br />&#160; &#39;page&#39;: &#39;1&#39;}</p>
</p>
<p>The sample has ", this has &#39; . Is that a problem?</p>
]]></description>
        	        	<pubDate>Wed, 04 Nov 2009 17:32:12 +0200</pubDate>
        </item>
        <item>
        	<title>Rumen[Trirand] on no data display with JQGrid and Turbogears </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11498</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/no-data-display-with-jqgrid-and-turbogears#p11498</guid>
        	        	<description><![CDATA[<p>From what I can tell, this could be the controller not sending the data in the correct JSON response format. Do you have control over that?</p>
</p>
<p>My suggestion is using a tool like Fiddler or FireBug to see what really gets sent back to the client (View Source in Browser will not work sinice the grid uses client-side rendering based on JSON)</p>
</p>
<p>Another thing to try - you can hook the loadError event of the grid and see if it gets fired and with what data.</p>
</p>
<p>Regards,</p>
<p>Rumen Stankov</p>
]]></description>
        	        	<pubDate>Wed, 04 Nov 2009 13:57:21 +0200</pubDate>
        </item>
</channel>
</rss>