<?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: Cannot Load Data in Grid Because My setURL Path Wrong?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cannot-load-data-in-grid-because-my-seturl-path-wrong</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/cannot-load-data-in-grid-because-my-seturl-path-wrong/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jquery_fan_coder on Cannot Load Data in Grid Because My setURL Path Wrong?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cannot-load-data-in-grid-because-my-seturl-path-wrong#p16308</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cannot-load-data-in-grid-because-my-seturl-path-wrong#p16308</guid>
        	        	<description><![CDATA[<p>Thanks mate,</p>
</p>
<p>I didn&#39;t see the other php forum, which is what I assume you are referring to.</p>
<p>My post has been reposted there.</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 14:00:30 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Cannot Load Data in Grid Because My setURL Path Wrong?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cannot-load-data-in-grid-because-my-seturl-path-wrong#p16305</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cannot-load-data-in-grid-because-my-seturl-path-wrong#p16305</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please post your problem into the appropriate forum here:</p>
<p><a href="http://www.trirand.net/forum/" rel="nofollow" target="_blank">http://www.trirand.net/forum/</a></p>
<p>Thank you</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 13:41:18 +0300</pubDate>
        </item>
        <item>
        	<title>jquery_fan_coder on Cannot Load Data in Grid Because My setURL Path Wrong?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cannot-load-data-in-grid-because-my-seturl-path-wrong#p16288</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cannot-load-data-in-grid-because-my-seturl-path-wrong#p16288</guid>
        	        	<description><![CDATA[<p>Hi Tony and forum users,</p>
</p>
<p>I can&#39;t load json data into the visible grid in my custom php page because I can&#39;t get the setURL path correct.</p>
<p>I can get the quick installation demo going &#8211; even when it uses the same jq-config.php file and other setup files as my own custom page does.</p>
</p>
<p>Firebug&#39;s console shows that the address created by $grid-&#62;setUrl gives a 404 Not Found.</p>
<p>Yet, if I&#39;m not corrected, this address exists &#8211; at least the part before the attributes after the .php?</p>
<p>I must have overlooked something simple, but have wasted days on this after testing for many other problems that may have caused this.</p>
<p>Please help. I want to get back to developing with the grid again as I could with the non-php version &#8211; not fighting a config file.</p>
<p>My deadline is tight so if I can&#39;t get this working in 1 more day, I&#39;ll have to find an alternative to the otherwise excellent jqgrid.</p>
</p>
<p>My dir, file, and config Layout:</p>
</p>
<p>includes/classes/jq-config.php</p>
<p>includes/classes/jqGrid.php</p>
<p>/includes/classes/jqGridPdo.php</p>
</p>
<p>My files:</p>
</p>
<p>1. same role as myfirstgrid.php demo:</p>
<p>includes/template_type/user_type/view_1/my_custom_view_jqgrid.inc.php &#160;</p>
<p>With $grid-&#62;setUrl($path_to_controllers . &#39;/includes/template_type/user_type/view_1/my_custom_view_jqgrid.inc.php&#39;);</p>
<p>$path_to_controllers can be substituted with the full path, but still no luck.</p>
</p>
<p>2. same role as myjqgrid.php:</p>
<p>includes/template_type/user_type/view_1/my_custom_view.inc.php</p>
</p>
<p>3. URL shown in browser:</p>
<p><a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://domain/site/user/view/&#39;);" rel="nofollow" href="http://domain/site/user/view/" target="_blank">http://domain/site/user/view/</a></p>
<p>This view includes the file:</p>
<p>includes/template_type/user_type/view_1/inpage_tabs</p>
<p>and the first tab in tis includes file 1. above:</p>
<p>includes/template_type/user_type/view_1/my_custom_view_jqgrid.inc.php</p>
</p>
<p>Firebug&#39;s 404 shows (sorry - had to post url as below as otherwise forum abbreviates it)</p>
<p><a href="http://domain/" rel="nofollow" target="_blank">http://domain/</a></p>
<p>path/</p>
<p>controllers/</p>
<p>includes/</p>
<p>template_type/</p>
<p>user_type/</p>
<p>view_1/</p>
<p>my_custom_view_jqgrid.inc.php?</p>
<p>oper=grid&#38;_search=false&#38;nd=1270692718070&#38;rows=10&#38;page=1&#38;sidx=OrderID&#38;sord=asc</p>
</p>
<p>To make testing simple, I&#39;ve tested the grid with 1 less include &#8211; that is &#8211; included directly into <a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://domain/site/user/view/&#39;);" rel="nofollow" href="http://domain/site/user/view/" target="_blank">http://domain/site/user/view/</a> outside of the the &#39;inpage_tabs&#39; include, but again, only the grid is rendered &#8211; no data, and the son output is similar but for a slight change in path.</p>
</p>
<p>Again &#8211; I can get the demo myjqgrid.php showing data in the site&#39;s root dir &#8211; even with the same config paths that point to includes/classes/jq-config.php etc.</p>
<p>I&#39;ve read that setURL should be the same as the include path in final view, but using this (as above) doesn&#39;t work.</p>
<p>If it was because I am using 2 includes, I could understand, but if I include the final jqgrid with just 1 include directly to the view page, I can still only render the grid with no JSON data.</p>
</p>
<p>Please help! I&#39;d like to get this going, pay for the developer licence, and publish my site.</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 06:35:48 +0300</pubDate>
        </item>
</channel>
</rss>