<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: TreeGrid Updated to Flex 2</title>
	<atom:link href="http://www.jamesward.com/2006/10/10/treegrid-updated-to-flex-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamesward.com/2006/10/10/treegrid-updated-to-flex-2/</link>
	<description>Rich Internet Applications &#124; Flex &#124; Adobe AIR &#124; Java &#124; Open Source &#124; Linux &#124; Enterprise Software &#124; Cloud</description>
	<lastBuildDate>Tue, 16 Mar 2010 21:17:11 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ki Park</title>
		<link>http://www.jamesward.com/2006/10/10/treegrid-updated-to-flex-2/comment-page-1/#comment-144303</link>
		<dc:creator>Ki Park</dc:creator>
		<pubDate>Tue, 13 Jan 2009 18:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/2006/10/10/treegrid-updated-to-flex-2/#comment-144303</guid>
		<description>private function openItem(item:TreeVO, indexNum:Number):void
{
...

		for(var j:Number = 0; j &lt; item.childList.length; j++)
		{
			var nListTop	:int	=	root.getItemIndex(item.childList[j]);
			if (item.childList[j].isOpen)
			{
				openItem(item.childList[j], nListTop);
			}
		}</description>
		<content:encoded><![CDATA[<p>private function openItem(item:TreeVO, indexNum:Number):void<br />
{<br />
&#8230;</p>
<p>		for(var j:Number = 0; j &lt; item.childList.length; j++)<br />
		{<br />
			var nListTop	:int	=	root.getItemIndex(item.childList[j]);<br />
			if (item.childList[j].isOpen)<br />
			{<br />
				openItem(item.childList[j], nListTop);<br />
			}<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume TRIBUT</title>
		<link>http://www.jamesward.com/2006/10/10/treegrid-updated-to-flex-2/comment-page-1/#comment-7557</link>
		<dc:creator>Guillaume TRIBUT</dc:creator>
		<pubDate>Thu, 29 Mar 2007 15:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/2006/10/10/treegrid-updated-to-flex-2/#comment-7557</guid>
		<description>//add the rows for the children at this level
	for(var i:Number = 0; i </description>
		<content:encoded><![CDATA[<p>//add the rows for the children at this level<br />
	for(var i:Number = 0; i</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume TRIBUT</title>
		<link>http://www.jamesward.com/2006/10/10/treegrid-updated-to-flex-2/comment-page-1/#comment-7556</link>
		<dc:creator>Guillaume TRIBUT</dc:creator>
		<pubDate>Thu, 29 Mar 2007 15:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/2006/10/10/treegrid-updated-to-flex-2/#comment-7556</guid>
		<description>Hi James,

I found your treeGrid component a few days ago and it was all what i need !
I use the version for flex 2 updated by Latha.

But I found a little bug in the &#039;openItem&#039; function.
When you open items until 3rd level, then close first level and open it again the sublevels arn&#039;t displayed properly.

Here&#039;s the &#039;openItem&#039; function corrected :
-----------------------
private function openItem(item:TreeNodeVO, indexNum:Number):Number{
			
	var root:ArrayCollection = parentApplication.dp;
	var nbRowsDisplayed:Number = 0;
				
	//add the rows for the children at this level
	for(var i:Number = 0; i </description>
		<content:encoded><![CDATA[<p>Hi James,</p>
<p>I found your treeGrid component a few days ago and it was all what i need !<br />
I use the version for flex 2 updated by Latha.</p>
<p>But I found a little bug in the &#8216;openItem&#8217; function.<br />
When you open items until 3rd level, then close first level and open it again the sublevels arn&#8217;t displayed properly.</p>
<p>Here&#8217;s the &#8216;openItem&#8217; function corrected :<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
private function openItem(item:TreeNodeVO, indexNum:Number):Number{</p>
<p>	var root:ArrayCollection = parentApplication.dp;<br />
	var nbRowsDisplayed:Number = 0;</p>
<p>	//add the rows for the children at this level<br />
	for(var i:Number = 0; i</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2006/10/10/treegrid-updated-to-flex-2/comment-page-1/#comment-1309</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Wed, 01 Nov 2006 15:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/2006/10/10/treegrid-updated-to-flex-2/#comment-1309</guid>
		<description>Are you still having problems with that link?  It&#039;s working fine for me.</description>
		<content:encoded><![CDATA[<p>Are you still having problems with that link?  It&#8217;s working fine for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang</title>
		<link>http://www.jamesward.com/2006/10/10/treegrid-updated-to-flex-2/comment-page-1/#comment-1307</link>
		<dc:creator>Yang</dc:creator>
		<pubDate>Wed, 01 Nov 2006 02:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cayambe.com/wordpress/2006/10/10/treegrid-updated-to-flex-2/#comment-1307</guid>
		<description>I can&#039;t open that link.
Could you please send the source code to me?
shuishuimu@hotmail.com
Thanks!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t open that link.<br />
Could you please send the source code to me?<br />
<a href="mailto:shuishuimu@hotmail.com">shuishuimu@hotmail.com</a><br />
Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
