<?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: Dynamic Control Reference</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-control-reference</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/dynamic-control-reference/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Dynamic Control Reference</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-control-reference#p22569</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-control-reference#p22569</guid>
        	        	<description><![CDATA[<p>Hello <strong>atrius</strong>,</p>
<p>dynamically creating of the table used for jqGrid work fine. See <a href="http://www.ok-soft-gmbh.com/jqGrid/SimpleDynamicLocalGrid.htm" target="_blank">the demo</a> for example.</p>
<p>You just have a bug in your code. Typical errors are: 1) use create &#60;div&#62; element instead of &#60;table&#62; element; 2) you initialize jqGrid (call $("#MyGridData").jqGrid({/*parameters of jqGrid*/})) <strong>before</strong> the corresponding &#60;table&#62; element are placed on the page.</p>
<p>Best regerds<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 28 Mar 2011 13:30:06 +0300</pubDate>
        </item>
        <item>
        	<title>atrius on Dynamic Control Reference</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamic-control-reference#p22567</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamic-control-reference#p22567</guid>
        	        	<description><![CDATA[<p>I&#39;ve been looking around but I can&#39;t seem to get this to work.&#160; I&#39;m assuming it&#39;s some sort of DOM issue but I really don&#39;t know.</p>
<p>I have a div where I dynamically create the table for jqGrid.&#160; If we use the example from the demo here <a href="http://www.trirand.com/blog/jqgrid/jqgrid.html" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/jq" rel="nofollow">http://www.trirand.com/blog/jq</a>.....qgrid.html</a></p>
<p>This works just fine:<br />&#60;div id="MyGridData"&#62;&#60;table id="list4"&#62;&#60;/table&#62;&#60;/div&#62;</p>
<p>This does not</p>
<p>&#60;div id="MyGridData"&#62;&#60;/div&#62;</p>
<p>then in js:</p>
<p>$("#MyGridData").html(&#39;&#60;table id="list4"&#62;&#60;/table&#62;&#39;)</p>
</p>
<p>Any ideas why?</p>
</p>
<p>Everything else is the same as the demo.&#160; I put the relevant MyData and loading code in document.ready for when the page loads.</p>
]]></description>
        	        	<pubDate>Mon, 28 Mar 2011 13:14:47 +0300</pubDate>
        </item>
</channel>
</rss>