<?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: Tree in Advanced DataGrid Example</title>
	<atom:link href="http://www.flex-blog.com/tree-in-advanced-datagrid-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/</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: Nathan5x</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-1962</link>
		<dc:creator>Nathan5x</dc:creator>
		<pubDate>Thu, 25 Aug 2011 05:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-1962</guid>
		<description>Hi Arjan,

Could you please share some sample on Tree ItemRenderer in AdvancedDataGrid ? 

There are cases where we need to write ItemRenderer for the Tree in AdvancedDataGrid.</description>
		<content:encoded><![CDATA[<p>Hi Arjan,</p>
<p>Could you please share some sample on Tree ItemRenderer in AdvancedDataGrid ? </p>
<p>There are cases where we need to write ItemRenderer for the Tree in AdvancedDataGrid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wmao</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-1912</link>
		<dc:creator>wmao</dc:creator>
		<pubDate>Fri, 24 Jun 2011 17:23:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-1912</guid>
		<description>Hi, I&#039;m a newbie to flex. I&#039;m just wondering if it&#039;s possible to put the tree in the datagrid header. So we can have something like this:


                                      child1    child2
                                         &#124;           &#124;
                    node1-------&#124;--------&#124;
---------------------------------------------------------------
+node1
  &#124;---child1
  &#124;---child2
+node2
  &#124;---child1
  &#124;---child2</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m a newbie to flex. I&#8217;m just wondering if it&#8217;s possible to put the tree in the datagrid header. So we can have something like this:</p>
<p>                                      child1    child2<br />
                                         |           |<br />
                    node1&#8212;&#8212;-|&#8212;&#8212;&#8211;|<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
+node1<br />
  |&#8212;child1<br />
  |&#8212;child2<br />
+node2<br />
  |&#8212;child1<br />
  |&#8212;child2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anirudha</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-1828</link>
		<dc:creator>Anirudha</dc:creator>
		<pubDate>Wed, 13 Apr 2011 06:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-1828</guid>
		<description>you can add dynamically department and employees

private function addDept(nodeName:String):void {
	var newNode:XML = ;
	newNode.@name = nodeName;
	var dept:XMLList =companyData.company.(@name == &quot;XYZ&quot;);
	if( dept.length() &gt; 0 ) {
	           dept[0].appendChild(newNode);
	}
}
			
private function addEmployee(nodeName:String, parentName:String, val:String):void {
	var newNode:XML = ;
	newNode.@name = nodeName;
	newNode.@value = val;
	var dept:XMLList =companyData.company.department.(@name == parentName);
	if( dept.length() &gt; 0 ) {
		dept[0].appendChild(newNode);
	}
}</description>
		<content:encoded><![CDATA[<p>you can add dynamically department and employees</p>
<p>private function addDept(nodeName:String):void {<br />
	var newNode:XML = ;<br />
	newNode.@name = nodeName;<br />
	var dept:XMLList =companyData.company.(@name == &#8220;XYZ&#8221;);<br />
	if( dept.length() &gt; 0 ) {<br />
	           dept[0].appendChild(newNode);<br />
	}<br />
}</p>
<p>private function addEmployee(nodeName:String, parentName:String, val:String):void {<br />
	var newNode:XML = ;<br />
	newNode.@name = nodeName;<br />
	newNode.@value = val;<br />
	var dept:XMLList =companyData.company.department.(@name == parentName);<br />
	if( dept.length() &gt; 0 ) {<br />
		dept[0].appendChild(newNode);<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-1741</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 09 Feb 2011 02:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-1741</guid>
		<description>Hello thanks for the great example

actually i need some help about creating a datagrid, what i need is to 
customize the header areas  which i tried to handled it by using stuff like:


     
			     
                        
							  
                                              
			        
									 
                                                                  

ect

but this is not working and i dont know why !

can you help me how to do it ?

what i want is for example : in each header to put a textArea so i can
edit the header texts at any time for example

and i dont know how to handle this problem : (

anyway thanks alot

tom</description>
		<content:encoded><![CDATA[<p>Hello thanks for the great example</p>
<p>actually i need some help about creating a datagrid, what i need is to<br />
customize the header areas  which i tried to handled it by using stuff like:</p>
<p>ect</p>
<p>but this is not working and i dont know why !</p>
<p>can you help me how to do it ?</p>
<p>what i want is for example : in each header to put a textArea so i can<br />
edit the header texts at any time for example</p>
<p>and i dont know how to handle this problem : (</p>
<p>anyway thanks alot</p>
<p>tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Winther Jensen</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-1696</link>
		<dc:creator>Henrik Winther Jensen</dc:creator>
		<pubDate>Wed, 08 Dec 2010 15:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-1696</guid>
		<description>Very nice.
Thank you.</description>
		<content:encoded><![CDATA[<p>Very nice.<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deval</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-1601</link>
		<dc:creator>Deval</dc:creator>
		<pubDate>Thu, 09 Sep 2010 06:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-1601</guid>
		<description>What a Wonderful thing u have provided</description>
		<content:encoded><![CDATA[<p>What a Wonderful thing u have provided</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-1558</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Mon, 12 Jul 2010 22:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-1558</guid>
		<description>Hi Arjan,

Nice sample. I started developing some components to be used in Xcelsius from SAP. I&#039;m facing some difficults to develop a datagrid to be rendered in Xcelsius via class file (.as). Do you know where I can get something to help? Thanks, Miguel</description>
		<content:encoded><![CDATA[<p>Hi Arjan,</p>
<p>Nice sample. I started developing some components to be used in Xcelsius from SAP. I&#8217;m facing some difficults to develop a datagrid to be rendered in Xcelsius via class file (.as). Do you know where I can get something to help? Thanks, Miguel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kimkiyong</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-342</link>
		<dc:creator>kimkiyong</dc:creator>
		<pubDate>Sun, 08 Nov 2009 01:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-342</guid>
		<description>thank you!
I need sample code for datagrid.</description>
		<content:encoded><![CDATA[<p>thank you!<br />
I need sample code for datagrid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjan</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-334</link>
		<dc:creator>Arjan</dc:creator>
		<pubDate>Tue, 03 Nov 2009 11:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-334</guid>
		<description>I think that transforming the XML is the best thing you can do. It’s pretty easy using E4X. I don’t know if you have any experience with it? Maybe I’ll write an example about E4X. If you give me a sample of the structure of your XML I can help you to figure out a solution.

Your second question is possible, but I’m not sure if you can do it by drag&amp;dropping of column headers. Dynamic grouping can be done by using GroupingCollection / Grouping / GroupingField.

Good luck.</description>
		<content:encoded><![CDATA[<p>I think that transforming the XML is the best thing you can do. It’s pretty easy using E4X. I don’t know if you have any experience with it? Maybe I’ll write an example about E4X. If you give me a sample of the structure of your XML I can help you to figure out a solution.</p>
<p>Your second question is possible, but I’m not sure if you can do it by drag&#038;dropping of column headers. Dynamic grouping can be done by using GroupingCollection / Grouping / GroupingField.</p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.flex-blog.com/tree-in-advanced-datagrid-example/comment-page-1/#comment-328</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Sun, 01 Nov 2009 03:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.flex-blog.com/?p=207#comment-328</guid>
		<description>Hello, I&#039;m getting started w/this control and the examples use actionscript objects or xml that uses leaf nodes for the rows inside the groups and the leaf node attributes for the columns.

I&#039;m consuming xml from a REST api where the rows I want in groups aren&#039;t leaf nodes, the leaf nodes represent my columns. From what I&#039;ve found so far it looks like I need to transform my XML to get it in the form mentioned previously. I was wondering if you&#039;ve seen a configuration that could handle my xml with transforming it.

I&#039;m also looking for some sort of dynamic grouping, like drag-n-drop of a column heading to create new/multiple dynamic groupings. Have you seen anything like this already done using flex 3?

Thank you,

-Luke</description>
		<content:encoded><![CDATA[<p>Hello, I&#8217;m getting started w/this control and the examples use actionscript objects or xml that uses leaf nodes for the rows inside the groups and the leaf node attributes for the columns.</p>
<p>I&#8217;m consuming xml from a REST api where the rows I want in groups aren&#8217;t leaf nodes, the leaf nodes represent my columns. From what I&#8217;ve found so far it looks like I need to transform my XML to get it in the form mentioned previously. I was wondering if you&#8217;ve seen a configuration that could handle my xml with transforming it.</p>
<p>I&#8217;m also looking for some sort of dynamic grouping, like drag-n-drop of a column heading to create new/multiple dynamic groupings. Have you seen anything like this already done using flex 3?</p>
<p>Thank you,</p>
<p>-Luke</p>
]]></content:encoded>
	</item>
</channel>
</rss>

