<?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: finding a cloned jqGrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid</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/finding-a-cloned-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>logicg8 on finding a cloned jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18684</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18684</guid>
        	        	<description><![CDATA[<p>Thanks Tony. I will do that.</p>
]]></description>
        	        	<pubDate>Tue, 20 Jul 2010 00:14:28 +0300</pubDate>
        </item>
        <item>
        	<title>tony on finding a cloned jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18683</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18683</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Just look into the code. Cloning IMHO will not work.</p>
<p>It is better to get the grid parameters and create a new grid with diffrent id using the copied paramaters</p>
</p>
<p>var gridconfig&#160; = $("#mygrid").jqGrid(&#39;getGridParam&#39;); // without any parameters</p>
</p>
<p>$("#newgrid").jqGrid(gridconfig);</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 19 Jul 2010 23:55:19 +0300</pubDate>
        </item>
        <item>
        	<title>logicg8 on finding a cloned jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18682</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18682</guid>
        	        	<description><![CDATA[<p>Thanks for the reply, Tony. Unfortunately, I get the same error.</p>
]]></description>
        	        	<pubDate>Mon, 19 Jul 2010 23:49:39 +0300</pubDate>
        </item>
        <item>
        	<title>tony on finding a cloned jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18681</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18681</guid>
        	        	<description><![CDATA[<p>HEllo,</p>
<p>Try to attach to a table a id too &#8211; something like:</p>
<p>&#60;div class="main"&#62;</p>
<p>&#160;&#60;div class="resultBlock"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;table  class="results" id="mytable"&#62;&#60;/table&#62;<br />&#160;&#160; &#60;/div&#62;</p>
<p>&#60;/div&#62;</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 19 Jul 2010 23:35:42 +0300</pubDate>
        </item>
        <item>
        	<title>logicg8 on finding a cloned jqGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18678</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/finding-a-cloned-jqgrid#p18678</guid>
        	        	<description><![CDATA[<p>I am cloning a div that contains a jqGrid. The HTML looks like this:</p>
<p>&#60;div class="main"&#62;</p>
<p>&#160;&#60;div class="resultBlock"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;table class="results"&#62;&#60;/table&#62;<br />&#160;&#160; &#60;/div&#62;</p>
<p>&#60;/div&#62;</p>
</p>
<p>The javascript creates the jqGrid as follows:</p>
<p>&#160;&#160; $("table.results").jqGrid({ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "local", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 250, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Misc&#39;], <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel:[ { name:"id", width:100}], <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; multiselect: false&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
</p>
<p>Then, the clone is created as follows:</p>
<p>$("div.main").clone(true)</p>
</p>
<p>In the original div, I can get to the jqGrid as follows:</p>
<p>$main.find("div.results").jqGrid() // where main is a reference to the original div with class of main</p>
</p>
<p>\In the cloned div, I try the same:</p>
<p>$main.find("div.results").jqGrid() // where main is a reference to the cloned div with class of main</p>
</p>
<p>but get an jquery error as follows:</p>
<div class="errorTitle focusRow  subLogRow ">t.p is undefined</div>
<div class="errorSourceBox errorSource-show focusRow subLogRow ">[Image Can Not Be Found]<a class="errorSource a11yFocus " target="_blank">else  v==="object"&#38;&#38;b(r).css(j)});retur...)e=i[0][l]}}m=t.p.altclass;for(var  S= </a></div>
<div class="errorSourceBox errorSource-show focusRow subLogRow "></div>
<div class="errorSourceBox errorSource-show focusRow subLogRow ">on line 120 of&#160; jquery-1.4.2.min.js.</div>
<div class="errorSourceBox errorSource-show focusRow subLogRow "></div>
<div class="errorSourceBox errorSource-show focusRow subLogRow ">How can I get a reference to the clone results table containing the jqGrid?</div>
<div class="errorSourceBox errorSource-show focusRow subLogRow "></div>
<div class="errorSourceBox errorSource-show focusRow subLogRow ">Thanks in advance for your help.</div></p>
]]></description>
        	        	<pubDate>Mon, 19 Jul 2010 18:33:01 +0300</pubDate>
        </item>
</channel>
</rss>