<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Dynamically creating a column grouped AdvancedDataGrid</title>
	<atom:link href="http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/feed/" rel="self" type="application/rss+xml" />
	<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/</link>
	<description>Not everything about technology, but close....</description>
	<lastBuildDate>Thu, 24 Dec 2009 04:56:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sameer</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-1097</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Wed, 06 May 2009 15:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-1097</guid>
		<description>col.dataField and col.headerText will give you dataField and headerText respectively. They are properties of AdvancedDataGridColumn.</description>
		<content:encoded><![CDATA[<p>col.dataField and col.headerText will give you dataField and headerText respectively. They are properties of AdvancedDataGridColumn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sachin dev tripathi</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-1096</link>
		<dc:creator>sachin dev tripathi</dc:creator>
		<pubDate>Wed, 06 May 2009 13:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-1096</guid>
		<description>Hi sameer,
I am using groupLabelFunction in my custom Datagrid component. I want to format the display of groupLabel according to its data type. if it is Long datetime value then I want to use dateformatter to change it to MM/DD/YYYY format. But in the first argument (i.e. item:Object), the GroupLabel property has text type of data. So I am usable to detect its data type.
I am using dummy column to show grouping information. So the second argument of GroupLabelfunction( i.e. col:AdvancedDataGridColumn) has no datafield and header text.
Please help me how can I accomplish my work

Thanks
sachindevtripathi@gmail.com</description>
		<content:encoded><![CDATA[<p>Hi sameer,<br />
I am using groupLabelFunction in my custom Datagrid component. I want to format the display of groupLabel according to its data type. if it is Long datetime value then I want to use dateformatter to change it to MM/DD/YYYY format. But in the first argument (i.e. item:Object), the GroupLabel property has text type of data. So I am usable to detect its data type.<br />
I am using dummy column to show grouping information. So the second argument of GroupLabelfunction( i.e. col:AdvancedDataGridColumn) has no datafield and header text.<br />
Please help me how can I accomplish my work</p>
<p>Thanks<br />
<a href="mailto:sachindevtripathi@gmail.com">sachindevtripathi@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shishir</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-1031</link>
		<dc:creator>Shishir</dc:creator>
		<pubDate>Thu, 12 Mar 2009 18:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-1031</guid>
		<description>Hi Sameer,

Oops i checked your proposed solution just now :) . I have replied to it .

Thanks,
Shishir.</description>
		<content:encoded><![CDATA[<p>Hi Sameer,</p>
<p>Oops i checked your proposed solution just now <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . I have replied to it .</p>
<p>Thanks,<br />
Shishir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-1029</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Tue, 10 Mar 2009 15:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-1029</guid>
		<description>I&#039;ve already replied to this query &lt;a href=&quot;http://techrays.wordpress.com/2008/03/14/extracting-the-source-from-an-ihierarchicalcollectionview/#comments&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;

Have you tried this? Are you still facing any issues with this?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve already replied to this query <a href="http://techrays.wordpress.com/2008/03/14/extracting-the-source-from-an-ihierarchicalcollectionview/#comments" rel="nofollow">here</a></p>
<p>Have you tried this? Are you still facing any issues with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shishir</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-1028</link>
		<dc:creator>Shishir</dc:creator>
		<pubDate>Tue, 10 Mar 2009 12:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-1028</guid>
		<description>Hi Sameer,

I have also implemented dynamic grouping of columns in AdvancedDataGrid but in a slightly different way.I have extended the AdvancedDataGridRenderer to provide a drop-down menu with options like Dynamic grouping etc.You can dynamically group on a column by choosing the menu option for that column.But i am facing one issue in this regard.I am able to dynamically group only once.The reason for it is as follows :

My initial dataProvider is an ArrayCollection.But when i dynamically group based on the chosen column then the dataProvider becomes a Hierarchical Data.Hence when i click on another column then it gives type mismatch error. Is there a way that i can reset the grid&#039;s dataProvider to the initial ArrayCollection ? Could you please tell me how should i proceed with the above problem.

private function menuOptionHandler(event:MenuEvent):void
 {
 var groupingCollection:GroupingCollection= new GroupingCollection();
 var grouping:Grouping = new Grouping();
 var groupingField:GroupingField = new GroupingField (gridColumn.dataField);
 grouping.fields = new Array()
 ///////Error here //////////

 groupingCollection.source = ICollectionView(grid.dataProvider); 
 grouping.fields.push(groupingField);
 groupingCollection.grouping = grouping;
 groupingCollection.refresh();
//grid.dataProvider initially ArrayCollection - changes to Hierarchical //here
  grid.dataProvider = groupingCollection; 
 }

Regards,
Shishir.</description>
		<content:encoded><![CDATA[<p>Hi Sameer,</p>
<p>I have also implemented dynamic grouping of columns in AdvancedDataGrid but in a slightly different way.I have extended the AdvancedDataGridRenderer to provide a drop-down menu with options like Dynamic grouping etc.You can dynamically group on a column by choosing the menu option for that column.But i am facing one issue in this regard.I am able to dynamically group only once.The reason for it is as follows :</p>
<p>My initial dataProvider is an ArrayCollection.But when i dynamically group based on the chosen column then the dataProvider becomes a Hierarchical Data.Hence when i click on another column then it gives type mismatch error. Is there a way that i can reset the grid&#8217;s dataProvider to the initial ArrayCollection ? Could you please tell me how should i proceed with the above problem.</p>
<p>private function menuOptionHandler(event:MenuEvent):void<br />
 {<br />
 var groupingCollection:GroupingCollection= new GroupingCollection();<br />
 var grouping:Grouping = new Grouping();<br />
 var groupingField:GroupingField = new GroupingField (gridColumn.dataField);<br />
 grouping.fields = new Array()<br />
 ///////Error here //////////</p>
<p> groupingCollection.source = ICollectionView(grid.dataProvider);<br />
 grouping.fields.push(groupingField);<br />
 groupingCollection.grouping = grouping;<br />
 groupingCollection.refresh();<br />
//grid.dataProvider initially ArrayCollection &#8211; changes to Hierarchical //here<br />
  grid.dataProvider = groupingCollection;<br />
 }</p>
<p>Regards,<br />
Shishir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lixz</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-972</link>
		<dc:creator>lixz</dc:creator>
		<pubDate>Thu, 12 Feb 2009 15:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-972</guid>
		<description>thx dude</description>
		<content:encoded><![CDATA[<p>thx dude</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-969</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Thu, 12 Feb 2009 12:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-969</guid>
		<description>groupLabelFunction does not modify the data. So, while sorting the actual data will be numeric in your case.
Use GroupingField.groupingFunction</description>
		<content:encoded><![CDATA[<p>groupLabelFunction does not modify the data. So, while sorting the actual data will be numeric in your case.<br />
Use GroupingField.groupingFunction</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surender dahiya</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-968</link>
		<dc:creator>Surender dahiya</dc:creator>
		<pubDate>Thu, 12 Feb 2009 10:02:17 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-968</guid>
		<description>suppose my groups comes out to be

OOO
OO1

after applying label function in place of OOO-SAM
OO1-ALI.Now when I sort in ascending order it gives SAM after that
ALI.But actually it should be ALI n then SAM.I think it is comparing numeric value</description>
		<content:encoded><![CDATA[<p>suppose my groups comes out to be</p>
<p>OOO<br />
OO1</p>
<p>after applying label function in place of OOO-SAM<br />
OO1-ALI.Now when I sort in ascending order it gives SAM after that<br />
ALI.But actually it should be ALI n then SAM.I think it is comparing numeric value</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surender dahiya</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-967</link>
		<dc:creator>Surender dahiya</dc:creator>
		<pubDate>Thu, 12 Feb 2009 09:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-967</guid>
		<description>Hey Sameer,
I have grouped data using  a field(some numeric data) and at group level iam showing different field(String value) using groupLabelFunction.
group.label has been set to datafield of first column.
I need to sort my groups based on their label rather then their grouping field.</description>
		<content:encoded><![CDATA[<p>Hey Sameer,<br />
I have grouped data using  a field(some numeric data) and at group level iam showing different field(String value) using groupLabelFunction.<br />
group.label has been set to datafield of first column.<br />
I need to sort my groups based on their label rather then their grouping field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://techrays.wordpress.com/2008/04/25/dynamically-creating-a-column-grouped-advanceddatagrid/#comment-875</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Wed, 01 Oct 2008 20:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://techrays.wordpress.com/?p=21#comment-875</guid>
		<description>I didn&#039;t get you..Can you be more clearer in explaining the issue you are facing or the example you want?</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t get you..Can you be more clearer in explaining the issue you are facing or the example you want?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
