<?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: Creating truly reusable renderers with ClassFactory</title>
	<atom:link href="http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/</link>
	<description></description>
	<lastBuildDate>Mon, 16 Aug 2010 08:29:49 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ashish</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-1062</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Thu, 12 Aug 2010 08:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-1062</guid>
		<description>Hi Ben

Great Article!! It really helped me in solving one of complex problem in my project where I am required to build a dynamic grid with variable no of columns and apply one generic item renderer to apply across all of them.</description>
		<content:encoded><![CDATA[<p>Hi Ben</p>
<p>Great Article!! It really helped me in solving one of complex problem in my project where I am required to build a dynamic grid with variable no of columns and apply one generic item renderer to apply across all of them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-172</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 25 Feb 2009 06:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-172</guid>
		<description>Ah, I am doing it as a component in an existing mxml file, since I won&#039;t need this component outside of this module. Is it possible to do it this way, or do I need to create a separate class?</description>
		<content:encoded><![CDATA[<p>Ah, I am doing it as a component in an existing mxml file, since I won&#8217;t need this component outside of this module. Is it possible to do it this way, or do I need to create a separate class?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Clinkinbeard</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-175</link>
		<dc:creator>Ben Clinkinbeard</dc:creator>
		<pubDate>Wed, 25 Feb 2009 02:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-175</guid>
		<description>Hi Paul,

The class you&#039;re using as your renderer needs to implement the interface. So your class definition should look like public class MyRenderer implements IListItemRenderer { .... }

HTH,
Ben</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>The class you&#8217;re using as your renderer needs to implement the interface. So your class definition should look like public class MyRenderer implements IListItemRenderer { &#8230;. }</p>
<p>HTH,<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-176</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 25 Feb 2009 02:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-176</guid>
		<description>Pardon my ignorance,  but I am not sure what you mean when you say &quot;If you implement ILIstItemRenderer &quot; If that is what you get by default when you specify the itemRenderer property on a mx:DataGridColumn, then I have implemented it.

I have breakpointed the code while in a function called from the item renderer, and was unable to find any variables similar to the ones you describe. For fun I tried trace(data.owner) and it returns undefined.

Thanks for the quick response btw.</description>
		<content:encoded><![CDATA[<p>Pardon my ignorance,  but I am not sure what you mean when you say &#8220;If you implement ILIstItemRenderer &#8221; If that is what you get by default when you specify the itemRenderer property on a mx:DataGridColumn, then I have implemented it.</p>
<p>I have breakpointed the code while in a function called from the item renderer, and was unable to find any variables similar to the ones you describe. For fun I tried trace(data.owner) and it returns undefined.</p>
<p>Thanks for the quick response btw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Clinkinbeard</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-173</link>
		<dc:creator>Ben Clinkinbeard</dc:creator>
		<pubDate>Tue, 24 Feb 2009 20:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-173</guid>
		<description>Hi Paul,

If you implement ILIstItemRenderer you will have a listData property that gets automatically set for you. When inside a DataGrid it will be an instance of DataGridListData which contains properties like rowIndex, columnIndex and owner (the DG). Thats all from memory so exact names might be a bit off.

HTH,
Ben</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>If you implement ILIstItemRenderer you will have a listData property that gets automatically set for you. When inside a DataGrid it will be an instance of DataGridListData which contains properties like rowIndex, columnIndex and owner (the DG). Thats all from memory so exact names might be a bit off.</p>
<p>HTH,<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-174</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 24 Feb 2009 20:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-174</guid>
		<description>The one thing I need that I am not sure this will do for me, but perhaps you might help, is to know what datagrid and row I was called from, I have an itemrenderer that is used in a tabbed form with multiple datagrids. In certain cases when the user clicks a check box I need to do different things based on which datagrid they are in.

Any ideas?</description>
		<content:encoded><![CDATA[<p>The one thing I need that I am not sure this will do for me, but perhaps you might help, is to know what datagrid and row I was called from, I have an itemrenderer that is used in a tabbed form with multiple datagrids. In certain cases when the user clicks a check box I need to do different things based on which datagrid they are in.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-178</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Wed, 29 Oct 2008 10:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-178</guid>
		<description>I&#039;ve done it.

Thanks anyway ;)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve done it.</p>
<p>Thanks anyway <img src='http://www.benclinkinbeard.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-177</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Mon, 27 Oct 2008 14:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-177</guid>
		<description>Thanks Ben
But for my case I have to use the nested datagrid; there are some design issues block me for making a use of the advancedatagrid .

if you can tell me how should the ItemRenderer Class looks like, this will be great and appreciated.

May thanks in advance.</description>
		<content:encoded><![CDATA[<p>Thanks Ben<br />
But for my case I have to use the nested datagrid; there are some design issues block me for making a use of the advancedatagrid .</p>
<p>if you can tell me how should the ItemRenderer Class looks like, this will be great and appreciated.</p>
<p>May thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Clinkinbeard</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-179</link>
		<dc:creator>Ben Clinkinbeard</dc:creator>
		<pubDate>Fri, 24 Oct 2008 19:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-179</guid>
		<description>Hi Mohammad,

While this is technically possible I would strongly recommend against it. You will likely run into performance issues very quickly and I also don&#039;t think it would make for a good user experience to try and decipher nested grids. Perhaps look into the AdvancedDataGrid which allows you to selectively expand and collapse rows.

HTH,
Ben</description>
		<content:encoded><![CDATA[<p>Hi Mohammad,</p>
<p>While this is technically possible I would strongly recommend against it. You will likely run into performance issues very quickly and I also don&#8217;t think it would make for a good user experience to try and decipher nested grids. Perhaps look into the AdvancedDataGrid which allows you to selectively expand and collapse rows.</p>
<p>HTH,<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://www.benclinkinbeard.com/2006/11/creating-truly-reusable-renderers-with-classfactory/comment-page-1/#comment-180</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Fri, 24 Oct 2008 09:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/#comment-180</guid>
		<description>Great Article.
I&#039;m new to Flex3 and I have a question for you and I hope u own the answer ..
I want to add a datagrid as ItemRenderer to another main Datagrid ( in other words, nested datagrids).

how should the ItemRenderer Class looks and how to set the dataprovider to the of the sub-Datagrid .

Thanks in advance ..</description>
		<content:encoded><![CDATA[<p>Great Article.<br />
I&#8217;m new to Flex3 and I have a question for you and I hope u own the answer ..<br />
I want to add a datagrid as ItemRenderer to another main Datagrid ( in other words, nested datagrids).</p>
<p>how should the ItemRenderer Class looks and how to set the dataprovider to the of the sub-Datagrid .</p>
<p>Thanks in advance ..</p>
]]></content:encoded>
	</item>
</channel>
</rss>
