<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Locking columns in a horizontally scrolling DataGrid control</title>
	<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 09:43:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Simon Bailey</title>
		<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-17323</link>
		<author>Simon Bailey</author>
		<pubDate>Thu, 11 Dec 2008 10:45:14 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-17323</guid>
		<description>RE: "Is there a way to remove that black vertical grid line. Tried a number of ways, sounds impossible."

Create a class as below:
&lt;pre class="code"&gt;
package
{
    import mx.skins.halo.DataGridHeaderSeparator;

    public class DataGridHeaderSeparator extends mx.skins.halo.DataGridHeaderSeparator
    {
        override public function get measuredWidth():Number
        {
            return 0;
        }

        override public function setActualSize(newWidth:Number, newHeight:Number):void
        {
            graphics.clear();
        }
    }
}
&lt;/pre&gt;

Then in your DataGrid params use:
&lt;pre class="code"&gt;
verticalLockedSeparatorSkin="DataGridHeaderSeparator"
&lt;/pre&gt;

That should do the trick :)

Cheers,

Simon

newtriks dot com</description>
		<content:encoded><![CDATA[<p>RE: &#8220;Is there a way to remove that black vertical grid line. Tried a number of ways, sounds impossible.&#8221;</p>
<p>Create a class as below:</p>
<pre class="code">
package
{
    import mx.skins.halo.DataGridHeaderSeparator;

    public class DataGridHeaderSeparator extends mx.skins.halo.DataGridHeaderSeparator
    {
        override public function get measuredWidth():Number
        {
            return 0;
        }

        override public function setActualSize(newWidth:Number, newHeight:Number):void
        {
            graphics.clear();
        }
    }
}
</pre>
<p>Then in your DataGrid params use:</p>
<pre class="code">
verticalLockedSeparatorSkin="DataGridHeaderSeparator"
</pre>
<p>That should do the trick :)</p>
<p>Cheers,</p>
<p>Simon</p>
<p>newtriks dot com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nino</title>
		<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-16458</link>
		<author>nino</author>
		<pubDate>Wed, 29 Oct 2008 08:03:50 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-16458</guid>
		<description>Is there a way to make column C on the example swf file not to resize and occupy the whole unfreeze section?</description>
		<content:encoded><![CDATA[<p>Is there a way to make column C on the example swf file not to resize and occupy the whole unfreeze section?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-4825</link>
		<author>peterd</author>
		<pubDate>Thu, 06 Dec 2007 17:35:48 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-4825</guid>
		<description>bing/Nikola,

I'm not sure if it works in Flex 2 (I believe it was added in Flex 3), but check out &lt;a href="http://blog.flexexamples.com/2007/12/05/changing-the-appearance-of-the-locked-column-separator-skin-for-a-datagrid-control-in-flex-3/" rel="nofollow"&gt;"Changing the appearance of the locked column separator skin for a DataGrid control in Flex 3"&lt;/a&gt;.

Peter</description>
		<content:encoded><![CDATA[<p>bing/Nikola,</p>
<p>I&#8217;m not sure if it works in Flex 2 (I believe it was added in Flex 3), but check out <a href="http://blog.flexexamples.com/2007/12/05/changing-the-appearance-of-the-locked-column-separator-skin-for-a-datagrid-control-in-flex-3/" rel="nofollow">&#8220;Changing the appearance of the locked column separator skin for a DataGrid control in Flex 3&#8243;</a>.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikola</title>
		<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-4780</link>
		<author>Nikola</author>
		<pubDate>Wed, 05 Dec 2007 17:33:17 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-4780</guid>
		<description>Tried a number of ways, sounds impossible. for me is the same what we can do ?</description>
		<content:encoded><![CDATA[<p>Tried a number of ways, sounds impossible. for me is the same what we can do ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bing</title>
		<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-4190</link>
		<author>bing</author>
		<pubDate>Fri, 16 Nov 2007 09:41:34 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-4190</guid>
		<description>Is there a way to remove that black vertical grid line. Tried a number of ways, sounds impossible.</description>
		<content:encoded><![CDATA[<p>Is there a way to remove that black vertical grid line. Tried a number of ways, sounds impossible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-2682</link>
		<author>peterd</author>
		<pubDate>Thu, 20 Sep 2007 19:16:42 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-2682</guid>
		<description>George Smith,

I don't know of an easy way to accomplish that without probably subclassing the DataGrid control and writing in the logic. You could try asking on Flexcoders and somebody there may have a better idea.

If you think this is a worth enhancement request, you can file a bug/ecr at http://bugs.adobe.com/flex/ against the Flex SDK and select "Component: DataGrid".

Peter</description>
		<content:encoded><![CDATA[<p>George Smith,</p>
<p>I don&#8217;t know of an easy way to accomplish that without probably subclassing the DataGrid control and writing in the logic. You could try asking on Flexcoders and somebody there may have a better idea.</p>
<p>If you think this is a worth enhancement request, you can file a bug/ecr at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a> against the Flex SDK and select &#8220;Component: DataGrid&#8221;.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Smith</title>
		<link>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-2676</link>
		<author>George Smith</author>
		<pubDate>Thu, 20 Sep 2007 17:57:23 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/15/locking-columns-in-a-horizontally-scrolling-datagrid-control/#comment-2676</guid>
		<description>I see how the column is locked. Is there a way to not have the scrollbar under the first column so the scrollbar component does not span the whole datagrid but just the columns that can scroll? This would be better for the user.
 
Thanks</description>
		<content:encoded><![CDATA[<p>I see how the column is locked. Is there a way to not have the scrollbar under the first column so the scrollbar component does not span the whole datagrid but just the columns that can scroll? This would be better for the user.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
