<?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: Adjacency Treegrid doesn't expand</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand</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/treegrid/adjacency-treegrid-doesnt-expand/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Adjacency Treegrid doesn't expand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6781</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6781</guid>
        	        	<description><![CDATA[<p>Ok,</p>
<p>I look into the code - You should first apply</p>
<p>expandRow and then expandNode something like this</p>
<p>$(&#8221;#mybutton&#8221;).click(function(){</p>
<p>var mygrid = $(&#8221;#grid&#8221;);</p>
<p>var record = mygrid.getInd(mygrid[0].rows, lastClickedRow, true);</p>
<p>mygrid.expandRow(record);</p>
<p>mygrid.expandNode(record);</p>
<p>return false;</p>
<p>});</p>
</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Wed, 20 May 2009 10:30:02 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Adjacency Treegrid doesn't expand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6780</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6780</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In order to understand what is going, could you please put the full configuration of the grid?</p>
<p>Thanks</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 20 May 2009 10:18:09 +0300</pubDate>
        </item>
        <item>
        	<title>VinZ40K on Adjacency Treegrid doesn't expand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6721</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6721</guid>
        	        	<description><![CDATA[<p>Version 3.4.3</p>
]]></description>
        	        	<pubDate>Fri, 15 May 2009 04:23:02 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Adjacency Treegrid doesn't expand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6695</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6695</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version do you use?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 15 May 2009 01:40:28 +0300</pubDate>
        </item>
        <item>
        	<title>VinZ40K on Adjacency Treegrid doesn't expand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6676</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6676</guid>
        	        	<description><![CDATA[<p>I've tried your code, and while the grid doesn't reload it also doesn't expand the rows. The [+] icon does change to a [-], and clicking the [-] does nothing except change it back to the [+].</p>
<p>Clicking the [+] or [-] in the grid itself works perfect. Using the expandNode function just doesn't show the subrows. Any thoughts why?</p>
]]></description>
        	        	<pubDate>Thu, 14 May 2009 03:07:16 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Adjacency Treegrid doesn't expand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6658</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6658</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Try this</p>
<p>var mygrid = $("#grid");</p>
<p>mygrid.expandNode(mygrid.getInd(mygrid[0].rows, lastClickedRow, true));</p>
<p>To getInd we pass 3 parameters - object , rowid and true/false</p>
<p>in case of true we return the row object in case of false(default) rowIndex.</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Wed, 13 May 2009 14:08:12 +0300</pubDate>
        </item>
        <item>
        	<title>VinZ40K on Adjacency Treegrid doesn't expand</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6613</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/adjacency-treegrid-doesnt-expand#p6613</guid>
        	        	<description><![CDATA[<p>I&#39;m trying to get the Treegrid to automaticly expand the last open node after reloading the data. However I can&#39;t seem to get it to work, the expandNode function doesn&#39;t open the row.</p>
<p>My code:</p>
<p>$(&#39;#grid&#39;).expandNode($(&#39;#grid&#39;).getInd(lastClickedRow));</p>
<p>lastClickedRow is the rowId of the row I want to open. This function does something (the grid reloads), but it doesn&#39;t expand the rows. We load all the data at once, so the should be no need to reload the grid (when clicking in the grid on the + it opens fine, without reloading the grid)</p>
<p>What am I doing wrong, any ideas?</p>
]]></description>
        	        	<pubDate>Mon, 11 May 2009 05:10:36 +0300</pubDate>
        </item>
</channel>
</rss>