<?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: Displaying tool tips in a Flex DataGrid control&#8217;s header</title>
	<atom:link href="http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ivan</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-9587</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Tue, 13 Sep 2011 17:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-9587</guid>
		<description>How to do it for spark datagrid cells?</description>
		<content:encoded><![CDATA[<p>How to do it for spark datagrid cells?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mario</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-7115</link>
		<dc:creator>mario</dc:creator>
		<pubDate>Thu, 25 Feb 2010 22:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-7115</guid>
		<description>perfect and simple - thx a lot!</description>
		<content:encoded><![CDATA[<p>perfect and simple &#8211; thx a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shmk</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-6607</link>
		<dc:creator>shmk</dc:creator>
		<pubDate>Tue, 15 Dec 2009 10:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-6607</guid>
		<description>Setting headerRenderer=&quot;mx.controls.Label&quot; it works perfectly for the tooltip but the alignment of the title is fixed to top-left.
Is it possible to change this alignment?</description>
		<content:encoded><![CDATA[<p>Setting headerRenderer=&#8221;mx.controls.Label&#8221; it works perfectly for the tooltip but the alignment of the title is fixed to top-left.<br />
Is it possible to change this alignment?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ilya</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-2489</link>
		<dc:creator>ilya</dc:creator>
		<pubDate>Wed, 27 May 2009 04:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-2489</guid>
		<description>Just one small note: this will prevent sort arrows from being displayed automaticaly - at least in advanced datagrid</description>
		<content:encoded><![CDATA[<p>Just one small note: this will prevent sort arrows from being displayed automaticaly &#8211; at least in advanced datagrid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rashmi</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-2490</link>
		<dc:creator>Rashmi</dc:creator>
		<pubDate>Thu, 19 Mar 2009 14:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-2490</guid>
		<description>Hi,
Is it possible to display tooltip different than headerText? I need to do that in one of the pages.

Thanks,
Rashmi</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Is it possible to display tooltip different than headerText? I need to do that in one of the pages.</p>
<p>Thanks,<br />
Rashmi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geetha Narayan</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-2491</link>
		<dc:creator>Geetha Narayan</dc:creator>
		<pubDate>Mon, 26 Jan 2009 17:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-2491</guid>
		<description>Hi,

You have a great site. I have started to work on flex just 2 months ago and your site was of great help for me. I have one question, is there a way that i can resize my datagrid columns according to the hearder length?

Thanks,
Geetha</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>You have a great site. I have started to work on flex just 2 months ago and your site was of great help for me. I have one question, is there a way that i can resize my datagrid columns according to the hearder length?</p>
<p>Thanks,<br />
Geetha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-2494</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 15 Jan 2009 23:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-2494</guid>
		<description>I&#039;d like to be able to force the tool-top regardless of overflow, any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to be able to force the tool-top regardless of overflow, any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-2493</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Tue, 16 Sep 2008 17:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-2493</guid>
		<description>Ambika,

Something like this should work (I&#039;ll also update the entry above and add this new example):
&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;
        initialize=&quot;init();&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.dataGridClasses.DataGridColumn;
            import mx.controls.DataGrid;
            import mx.controls.Label;

            private var xmlDP:XML = &lt;nodes&gt;
                        &lt;node col1=&quot;One.1&quot; col2=&quot;One.2&quot; /&gt;
                        &lt;node col1=&quot;Two.1&quot; col2=&quot;Two.2&quot; /&gt;
                        &lt;node col1=&quot;Three.1&quot; col2=&quot;Three.2&quot; /&gt;
                        &lt;node col1=&quot;Four.1&quot; col2=&quot;Four.2&quot; /&gt;
                        &lt;node col1=&quot;Five.1&quot; col2=&quot;Five.2&quot; /&gt;
                        &lt;node col1=&quot;Six.1&quot; col2=&quot;Six.2&quot; /&gt;
                        &lt;node col1=&quot;Seven.1&quot; col2=&quot;Seven.2&quot; /&gt;
                        &lt;node col1=&quot;Eight.1&quot; col2=&quot;Eight.2&quot; /&gt;
                        &lt;node col1=&quot;Nine.1&quot; col2=&quot;Nine.2&quot; /&gt;
                    &lt;/nodes&gt;;

            private var dataGrid:DataGrid;
            private var dataGridCol1:DataGridColumn;
            private var dataGridCol2:DataGridColumn;

            private function init():void {
                dataGridCol1 = new DataGridColumn();
                dataGridCol1.dataField = &quot;@col1&quot;;
                dataGridCol1.headerText = &quot;The quick brown fox jumped over the lazy dog&quot;;
                dataGridCol1.headerRenderer = new ClassFactory(Label);

                dataGridCol2 = new DataGridColumn();
                dataGridCol2.dataField = &quot;@col2&quot;;
                dataGridCol2.headerText = &quot;Lorem ipsum dolor sit amet, consectetuer adipiscing elit&quot;;
                dataGridCol2.headerRenderer = new ClassFactory(Label);

                dataGrid = new DataGrid();
                dataGrid.dataProvider = xmlDP.node;
                dataGrid.columns = [dataGridCol1, dataGridCol2];
                dataGrid.width = 300;
                dataGrid.height = 200;
                addChild(dataGrid);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Ambika,</p>
<p>Something like this should work (I&#8217;ll also update the entry above and add this new example):</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        initialize="init();"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.dataGridClasses.DataGridColumn;
            import mx.controls.DataGrid;
            import mx.controls.Label;

            private var xmlDP:XML = &lt;nodes&gt;
                        &lt;node col1="One.1" col2="One.2" /&gt;
                        &lt;node col1="Two.1" col2="Two.2" /&gt;
                        &lt;node col1="Three.1" col2="Three.2" /&gt;
                        &lt;node col1="Four.1" col2="Four.2" /&gt;
                        &lt;node col1="Five.1" col2="Five.2" /&gt;
                        &lt;node col1="Six.1" col2="Six.2" /&gt;
                        &lt;node col1="Seven.1" col2="Seven.2" /&gt;
                        &lt;node col1="Eight.1" col2="Eight.2" /&gt;
                        &lt;node col1="Nine.1" col2="Nine.2" /&gt;
                    &lt;/nodes&gt;;

            private var dataGrid:DataGrid;
            private var dataGridCol1:DataGridColumn;
            private var dataGridCol2:DataGridColumn;

            private function init():void {
                dataGridCol1 = new DataGridColumn();
                dataGridCol1.dataField = "@col1";
                dataGridCol1.headerText = "The quick brown fox jumped over the lazy dog";
                dataGridCol1.headerRenderer = new ClassFactory(Label);

                dataGridCol2 = new DataGridColumn();
                dataGridCol2.dataField = "@col2";
                dataGridCol2.headerText = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit";
                dataGridCol2.headerRenderer = new ClassFactory(Label);

                dataGrid = new DataGrid();
                dataGrid.dataProvider = xmlDP.node;
                dataGrid.columns = [dataGridCol1, dataGridCol2];
                dataGrid.width = 300;
                dataGrid.height = 200;
                addChild(dataGrid);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ambika</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-2495</link>
		<dc:creator>Ambika</dc:creator>
		<pubDate>Tue, 16 Sep 2008 15:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-2495</guid>
		<description>How do I achieve the same in actionscript? I am building my datagrid dynamically. Thanks</description>
		<content:encoded><![CDATA[<p>How do I achieve the same in actionscript? I am building my datagrid dynamically. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Marks</title>
		<link>http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/comment-page-1/#comment-2492</link>
		<dc:creator>Joel Marks</dc:creator>
		<pubDate>Mon, 11 Aug 2008 12:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/08/displaying-tool-tips-in-a-flex-datagrid-controls-header/#comment-2492</guid>
		<description>Is there any way that you can use the headerrenderer to make the column headers angled?

Thanks</description>
		<content:encoded><![CDATA[<p>Is there any way that you can use the headerrenderer to make the column headers angled?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

