<?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: Change open and close icons on Flex Tree</title>
	<atom:link href="http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/</link>
	<description>Examples, News and Other Stuff</description>
	<lastBuildDate>Thu, 19 Jan 2012 14:01:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: murali</title>
		<link>http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/comment-page-1/#comment-1724</link>
		<dc:creator>murali</dc:creator>
		<pubDate>Wed, 19 Jan 2011 10:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=385#comment-1724</guid>
		<description>hello sir! i have an advanced data grid which shows heirachial data. and two buttons to expand all and one button to revert back. after expanding all how can i revert back to previous perspective(opening same nodes which were opened before clicking expand all)
plz help me</description>
		<content:encoded><![CDATA[<p>hello sir! i have an advanced data grid which shows heirachial data. and two buttons to expand all and one button to revert back. after expanding all how can i revert back to previous perspective(opening same nodes which were opened before clicking expand all)<br />
plz help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjan</title>
		<link>http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/comment-page-1/#comment-1667</link>
		<dc:creator>Arjan</dc:creator>
		<pubDate>Thu, 18 Nov 2010 06:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=385#comment-1667</guid>
		<description>Yeah that should be possible by doing some additional coding on the click event to check wheter this item can be opened or not. Stopping event propagation might work for this. Im not sure if you can show another icon/image for the &quot;disabled&quot; rows, but propably, there is.</description>
		<content:encoded><![CDATA[<p>Yeah that should be possible by doing some additional coding on the click event to check wheter this item can be opened or not. Stopping event propagation might work for this. Im not sure if you can show another icon/image for the &#8220;disabled&#8221; rows, but propably, there is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjan</title>
		<link>http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/comment-page-1/#comment-1666</link>
		<dc:creator>Arjan</dc:creator>
		<pubDate>Wed, 17 Nov 2010 18:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=385#comment-1666</guid>
		<description>Hey Arjan,
Is there a way to disable the disclosureopen/closeicon for partticular rows of an ADG programmatically ??

Bhargav</description>
		<content:encoded><![CDATA[<p>Hey Arjan,<br />
Is there a way to disable the disclosureopen/closeicon for partticular rows of an ADG programmatically ??</p>
<p>Bhargav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alison</title>
		<link>http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/comment-page-1/#comment-465</link>
		<dc:creator>Alison</dc:creator>
		<pubDate>Wed, 16 Dec 2009 12:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=385#comment-465</guid>
		<description>Hi Arjan.

Thank you. Works perfectly!</description>
		<content:encoded><![CDATA[<p>Hi Arjan.</p>
<p>Thank you. Works perfectly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjan</title>
		<link>http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/comment-page-1/#comment-460</link>
		<dc:creator>Arjan</dc:creator>
		<pubDate>Tue, 15 Dec 2009 20:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=385#comment-460</guid>
		<description>Hi Alison,

Yeah that&#039;s possible. Just add an event listener to your Tree component on the click event:

click=&quot;handleClick(event)&quot;

And add the following function to your script:

private function handleClick(event:MouseEvent):void
{
	tree.expandItem( tree.selectedItem, !tree.isItemOpen( tree.selectedItem  ) );
}

This will open the clicked item if it&#039;s closed and close it if it&#039;s open.

Good luck!

Arjan</description>
		<content:encoded><![CDATA[<p>Hi Alison,</p>
<p>Yeah that&#8217;s possible. Just add an event listener to your Tree component on the click event:</p>
<p>click=&#8221;handleClick(event)&#8221;</p>
<p>And add the following function to your script:</p>
<p>private function handleClick(event:MouseEvent):void<br />
{<br />
	tree.expandItem( tree.selectedItem, !tree.isItemOpen( tree.selectedItem  ) );<br />
}</p>
<p>This will open the clicked item if it&#8217;s closed and close it if it&#8217;s open.</p>
<p>Good luck!</p>
<p>Arjan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alison</title>
		<link>http://www.flex-blog.com/change-open-and-close-icons-on-flex-tree/comment-page-1/#comment-459</link>
		<dc:creator>Alison</dc:creator>
		<pubDate>Tue, 15 Dec 2009 15:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=385#comment-459</guid>
		<description>Is it possible to the header text works as a link to expand the node?
In this example, only the tree expands when we clik on the minus and plus icon. I wanna clik en the header (node1... node6) and expand the tree.

Is it possible?


Thanks</description>
		<content:encoded><![CDATA[<p>Is it possible to the header text works as a link to expand the node?<br />
In this example, only the tree expands when we clik on the minus and plus icon. I wanna clik en the header (node1&#8230; node6) and expand the tree.</p>
<p>Is it possible?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

