<?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: The 'demo' site theory of operation</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation</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/discussion/the-demo-site-theory-of-operation/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>donb on The 'demo' site theory of operation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13125</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13125</guid>
        	        	<description><![CDATA[<p>Ah, the .load() loads scripts too?&#160; There is the magic I was unable to understand.&#160; I did not know that.&#160;</p>
</p>
<p>Thanks Tony!</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 16:15:12 +0200</pubDate>
        </item>
        <item>
        	<title>tony on The 'demo' site theory of operation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13123</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13123</guid>
        	        	<description><![CDATA[<p>My sugestion is to download the demo file. In this file there are no ads</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 15:58:23 +0200</pubDate>
        </item>
        <item>
        	<title>tony on The 'demo' site theory of operation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13122</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13122</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The trick is using jQuery load in the tabs - this also load scripts too 🙂</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 15:56:23 +0200</pubDate>
        </item>
        <item>
        	<title>tony on The 'demo' site theory of operation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13121</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13121</guid>
        	        	<description><![CDATA[<p>Hello Don,</p>
<p>Thanks for this and that you like the demo page.</p>
<p>Shortley the things are simple, but we need to do some additional changes.</p>
<p>In the demo we used a wonderfull jquery ui layout.</p>
<p>The layout is configured so to have only left and central pane.</p>
<p>On the left pane I define a jqGrid with tree mode and in the central we use the jquery ui tabs with initial page loaded.</p>
<p>When we load the page for first time we load the tree grid with data at once.</p>
<p>The tree grid&#160; has a hidden fields with url to diffrent pages (already get from loacal or db file)</p>
<p>when we do onSelect row we check first if the selected row is Leaf and if so we then check if the page is already loaded.</p>
<p>If this is a case we select it, if not we create a tab and instruct a tab plugin to load</p>
<p>the contents via ajax (the hidden field from grid). The content is a simple html which includes another js script file.</p>
</p>
<p>To do this we have made some additional css changes to tab plugin and other minor css changes.</p>
</p>
<p>Hope this help a lot</p>
<p>In order to understand this you can download the demo and look at jqgrid.html file.</p>
<p>Fell free to ask me if something is not clear</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 15:54:42 +0200</pubDate>
        </item>
        <item>
        	<title>donb on The 'demo' site theory of operation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13120</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13120</guid>
        	        	<description><![CDATA[<p>I have figured out there&#39;s some &#39;junk&#39; (i.e., not relevant to the example) that loads an iframe with 4 ads &#8211; &#39;addsx.html&#39;.&#160; That threw me off track until I realized &#39;add&#39; mean &#39;ad&#39; as in advertisement.&#160; Thus, I can ignore the iframe entirely.</p>
<p>So I have been able to reduce this to a basic $.ajax() call which loads an html file (e.g. &#39;jsonex.html&#39;, which means &#39;json example&#39;).&#160; And that loads jsonex.js which is the script that loads the jqgrid.</p>
<p>I though jquery wouldn&#39;t automatically execute script loaded via ajax.&#160; So now my question is a bit more specific &#8211; What causes the ajax-loaded jqgrid script to execute?</p>
<p>I know that jqgrid dynamically loads the js it needs.&#160; Do these example grids&#39; js execute because something in the core jqgrid code is &#39;watching&#39; or is there something else I have not yet ferreted out of the example page that does this?</p>
<p>It might be easy to figure this out, but the minified scripts that were used to create the example make it pretty much impossible to see what&#39;s going on in the code.</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 15:39:58 +0200</pubDate>
        </item>
        <item>
        	<title>donb on The 'demo' site theory of operation</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13088</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/the-demo-site-theory-of-operation#p13088</guid>
        	        	<description><![CDATA[<p>I am thinking I want to do something similar to the site <a rel="nofollow" href="/blog/jqgrid/jqgrid.html" target="_blank"></a><a href="http://www.trirand.com/blog/jq" rel="nofollow" target="_blank">http://www.trirand.com/blog/jq</a>.....qgrid.html but I&#39;m having difficulty sorting out what makes it work.</p>
</p>
<p>My goal is a jquery ui tabbed page where some tabs load a jqgrid &#8211; different grids on different tabs.&#160; Some tabs would have no grid on them.</p>
</p>
<p>The demo site appears to request each tabs content on-demand, including a grid sometimes.&#160; This occurs as a GET of some html and another GET of some javascript.&#160; I can follow that using Firebug console.&#160;</p>
</p>
<p>And the page appears to be using jquery ui layout plugin.</p>
</p>
<p>I&#39;m not clear about what makes it all work, particularly the main panel where the grid demos appear.&#160; Is this all dependent upon the layout plugin and I need to read up on that to learn how to apply it effectively, or is this page a jqgrid &#39;treegrid&#39; and it&#39;s doing all the management of the left/right panels? edit: I found a screenshot of a treegrid while searching for a live example.&#160; I see the demo page is NOT a treegrid.</p>
</p>
<p>I was hoping someone could give a very brief orientation/acrhitecture overview.&#160; Trying to step through the live page is proving difficult what with events firing and things happening ansynchronously.</p>
</p>
<p>I should say that I am fully understanding of the jqgrid aspect, having used it a number of times.&#160; Just looking for the &#39;big picture&#39; overview of the demo page &#8211; which seems to be a rather awesome &#39;meta demo&#39; itself.</p>
]]></description>
        	        	<pubDate>Wed, 16 Dec 2009 17:55:02 +0200</pubDate>
        </item>
</channel>
</rss>