<?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 grid in AJAX call</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call</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-grid-in-ajax-call/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Creating grid in AJAX call</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17695</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17695</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
<p>We will try to make such checking.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 02 Jun 2010 21:48:52 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Creating grid in AJAX call</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17656</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17656</guid>
        	        	<description><![CDATA[<p>You&#160;welcome!</p>
<p>I&#160;month ago I made the same error. I spend a lot of time in searching such error. Thus I could see in your question the solution&#160;immediately.&#160;&#160;By the way I placed a feature request which could reduce the time of searching of such kind of bugs&#160;/blog/?page_id=393/feature-request/more-control-of-requirements-and-generation-alerts/&#38;value=1671&#38;type=9&#38;include=0&#38;search=1&#38;ret=all.</p>
</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Tue, 01 Jun 2010 18:00:50 +0300</pubDate>
        </item>
        <item>
        	<title>RobWalker on Creating grid in AJAX call</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17653</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17653</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:Verify that #results_grid is defined as a &#60;table&#62; element and not as a &#60;div&#62;.</p>
</blockquote>
<hr />
<p>Perfect! &#160;It is working great now ... thanks for the help, I was so focused on the javascript I missed the obvious bit!</p>
]]></description>
        	        	<pubDate>Tue, 01 Jun 2010 17:26:33 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Creating grid in AJAX call</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17622</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17622</guid>
        	        	<description><![CDATA[<p>Verify that #results_grid is defined as a &#60;table&#62; element and not as a &#60;div&#62;.</p>
]]></description>
        	        	<pubDate>Tue, 01 Jun 2010 01:18:53 +0300</pubDate>
        </item>
        <item>
        	<title>RobWalker on Creating grid in AJAX call</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17619</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/creating-grid-in-ajax-call#p17619</guid>
        	        	<description><![CDATA[<p>I am trying to create a new grid in response to the results from an AJAX call where the column layout of the grid is defined on the fly.</p>
<p>So far I have:</p>
</p>
<p>&#160;&#160;var grid = $("#results_grid");</p>
</p>
<p>&#160;&#160;grid.jqGrid({</p>
<p>&#160;&#160; &#160;datatype: &#39;local&#39;,</p>
<p>&#160;&#160; &#160;colNames: column_names,</p>
<p>&#160;&#160; &#160;colModel: column_model,</p>
<p>&#160;&#160; &#160;caption: "Query results",</p>
<p>&#160;&#160; &#160;altrows: true,</p>
<p>&#160;&#160; &#160;viewrecords: true</p>
<p>&#160;&#160;});</p>
</p>
<p>And then I add the data using:</p>
<p>&#160;&#160;grid.jqGrid(&#39;addRowData&#39;, idx, data);</p>
</p>
<p>The problem is that I get an exception in addRowData to the effect that &#39;t.rows.length&#39; is null ... which it is. &#160;After that the grid appears on the page with the columns defined, but no rows visible.</p>
</p>
<p>I&#39;ve tried this in 3.6.4 and the 3.7 beta. Am I missing a step somewhere?</p>
]]></description>
        	        	<pubDate>Mon, 31 May 2010 23:16:50 +0300</pubDate>
        </item>
</channel>
</rss>