<?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: Creating jqGrid and pager in non-default selector context</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/creating-jqgrid-and-pager-in-non-default-selector-context</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/creating-jqgrid-and-pager-in-non-default-selector-context/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>cthonianmessiah on Creating jqGrid and pager in non-default selector context</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/creating-jqgrid-and-pager-in-non-default-selector-context#p23728</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/creating-jqgrid-and-pager-in-non-default-selector-context#p23728</guid>
        	        	<description><![CDATA[<p>Is there any way in the current jqGrid implementation to attach a pager to a DOM tree that is not yet attached to the document? &#160;I have gotten jqGrid to create the grid object itself using jQuery&#39;s selector context:</p>
<p>$("#new-jqgrid-id", some.disconnected.dom.tree).jqGrid({..., pager: "#new-jqgrid-pager-id"...});</p>
</p>
<p>The problem I&#39;m running into is that I believe that jqGrid is searching for #new-jqgrid-pager-id in the document context, instead of the context in which jqGrid was called. &#160;Is it possible to specify a context here? &#160;I tried:</p>
<p>$("#new-jqgrid-id", some.disconnected.dom.tree).jqGrid({..., pager: $("#new-jqgrid-pager-id", some.disconnected.dom.tree)...});</p>
</p>
<p>This didn&#39;t work, although jQuery&#39;s selector specification indicates that the selector should be operating in the context I provided. &#160;I suspect that this is going to be changed into a &#39;new feature request&#39;, but I&#39;m hoping there is just something that I am missing here.</p>
]]></description>
        	        	<pubDate>Wed, 22 Jun 2011 17:41:48 +0300</pubDate>
        </item>
</channel>
</rss>