<?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: Setting the horizontal scrollbar policy on a DataGrid control in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alessandro</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-9186</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Tue, 03 May 2011 10:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-9186</guid>
		<description>Hi Peter, 
I have this problem with datagrid, and I see the same problem in your example:
Setting  horizontalScrollPolicy=ON , when I stretch a column, the last column will stretch too, becoming larger, sometimes very large.
I tried setting resizable=false, and also re-setting its width to the original value when the width change, but nothing works.
Do you know how to solve this?
Thanks
Ale</description>
		<content:encoded><![CDATA[<p>Hi Peter,<br />
I have this problem with datagrid, and I see the same problem in your example:<br />
Setting  horizontalScrollPolicy=ON , when I stretch a column, the last column will stretch too, becoming larger, sometimes very large.<br />
I tried setting resizable=false, and also re-setting its width to the original value when the width change, but nothing works.<br />
Do you know how to solve this?<br />
Thanks<br />
Ale</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Varalakshmi</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-8952</link>
		<dc:creator>Varalakshmi</dc:creator>
		<pubDate>Thu, 03 Feb 2011 11:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-8952</guid>
		<description>Sean,

I am facing the same issue which you have raised.
Did you find the solution for this. if so, ould you share the same</description>
		<content:encoded><![CDATA[<p>Sean,</p>
<p>I am facing the same issue which you have raised.<br />
Did you find the solution for this. if so, ould you share the same</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-7398</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-7398</guid>
		<description>It seems that I found the reason for the weird behavior, but I am not sure if I can see the connection :-)   I was setting the minWidth attribute on 2 of my 3 columns. After changing that to assigning a fixed width, the scroll bars seem to work fine. What I wanted to achieve with minWidth was, that if the user decided to increase the size of the Panel, the DG would fill out all of it, but I wanted to ensure that certain columns can not get smaller than a certain value.

Well, I guess the minWidth thing is not that important.  The scoll bars work fine as long as I don&#039;t set minWidth.</description>
		<content:encoded><![CDATA[<p>It seems that I found the reason for the weird behavior, but I am not sure if I can see the connection :-)   I was setting the minWidth attribute on 2 of my 3 columns. After changing that to assigning a fixed width, the scroll bars seem to work fine. What I wanted to achieve with minWidth was, that if the user decided to increase the size of the Panel, the DG would fill out all of it, but I wanted to ensure that certain columns can not get smaller than a certain value.</p>
<p>Well, I guess the minWidth thing is not that important.  The scoll bars work fine as long as I don&#8217;t set minWidth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-7397</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-7397</guid>
		<description>The indention did not work. Sorry. The number in front of a row basically means the level of indention/nesting.</description>
		<content:encoded><![CDATA[<p>The indention did not work. Sorry. The number in front of a row basically means the level of indention/nesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-7396</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-7396</guid>
		<description>I am pretty sure that I am seeing DataGrid scroll bars, since I am setting the horizontal and vertical scroll policy of the Panel to &quot;off&quot;. The displayed horizontal scroll bar is extending beyond the visible part of the Panel. I can never see the &quot;right arrow&quot; of the scroll bar since I can not scroll the Panel to display it.

Am I doing something wrong with the heights and widths? My page basically is:
1 VBox
   2 HBox W 100%, H 48 pixel)
   2 TabNavigator (w 100%, H 95%)
      3 VBox (&quot;tab1&quot; W 100% H 100%)
         4 VDividedBox (W 100% H 100%)
            5 HDividedBox (W 100% H 60%)
                6 Custom Panel control (W 25% H 100%)
                    7 DataGrid (W 100% H 100% ; the one in question!)
                6 TabNavigator (W 75% H 100%)
            5 Custom control (HDividedBox (W 100% H 40%))
      3 VBox (&quot;tab 2&quot; W 100% H 100%

I am also using custom item renderes in the grid (derived from Label and Canvas). 

I could also send a screen shot to you per email if that is of any help.

Thanks for trying to help me out on this.</description>
		<content:encoded><![CDATA[<p>I am pretty sure that I am seeing DataGrid scroll bars, since I am setting the horizontal and vertical scroll policy of the Panel to &#8220;off&#8221;. The displayed horizontal scroll bar is extending beyond the visible part of the Panel. I can never see the &#8220;right arrow&#8221; of the scroll bar since I can not scroll the Panel to display it.</p>
<p>Am I doing something wrong with the heights and widths? My page basically is:<br />
1 VBox<br />
   2 HBox W 100%, H 48 pixel)<br />
   2 TabNavigator (w 100%, H 95%)<br />
      3 VBox (&#8220;tab1&#8243; W 100% H 100%)<br />
         4 VDividedBox (W 100% H 100%)<br />
            5 HDividedBox (W 100% H 60%)<br />
                6 Custom Panel control (W 25% H 100%)<br />
                    7 DataGrid (W 100% H 100% ; the one in question!)<br />
                6 TabNavigator (W 75% H 100%)<br />
            5 Custom control (HDividedBox (W 100% H 40%))<br />
      3 VBox (&#8220;tab 2&#8243; W 100% H 100%</p>
<p>I am also using custom item renderes in the grid (derived from Label and Canvas). </p>
<p>I could also send a screen shot to you per email if that is of any help.</p>
<p>Thanks for trying to help me out on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-7391</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 31 Mar 2010 02:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-7391</guid>
		<description>@Wolfgang,

Do you have a simple test case showing the weird behavior? I&#039;m curious if you&#039;re seeing Panel scrollbars or DataGrid scrollbars.

Peter</description>
		<content:encoded><![CDATA[<p>@Wolfgang,</p>
<p>Do you have a simple test case showing the weird behavior? I&#8217;m curious if you&#8217;re seeing Panel scrollbars or DataGrid scrollbars.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolfgang</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-7389</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Wed, 31 Mar 2010 00:04:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-7389</guid>
		<description>Hi,

I have a problem with the scroll bars and my data grid. My DG is in a Panel. The DG is set to width and height at 100%. Vertical scrolling works as expected. My columns intentionally extend beyond the display area that the DG has available. I would expect the behavior to be as shown above, but for some reason it is squeezing all columns into the available space instead of making them go out of bounds with scroll bar. If I turn the scroll policy on, it does extend out of bounds and display the horizontal scroll bar, but the vertical scroll bar goes out of bounds too and I have to scroll right in order to be able to scroll down ?! I want to vertical scroll bar to stay within the visible area as shown above.

Does anybody know how I can make the vertical scroll bar stay within the viewable area of my panel?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a problem with the scroll bars and my data grid. My DG is in a Panel. The DG is set to width and height at 100%. Vertical scrolling works as expected. My columns intentionally extend beyond the display area that the DG has available. I would expect the behavior to be as shown above, but for some reason it is squeezing all columns into the available space instead of making them go out of bounds with scroll bar. If I turn the scroll policy on, it does extend out of bounds and display the horizontal scroll bar, but the vertical scroll bar goes out of bounds too and I have to scroll right in order to be able to scroll down ?! I want to vertical scroll bar to stay within the visible area as shown above.</p>
<p>Does anybody know how I can make the vertical scroll bar stay within the viewable area of my panel?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Stewardson</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-3745</link>
		<dc:creator>Joshua Stewardson</dc:creator>
		<pubDate>Thu, 15 Jan 2009 21:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-3745</guid>
		<description>Example in HTML:

&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;2008-11&lt;/th&gt;
&lt;th&gt;2008-12&lt;/th&gt;
&lt;th&gt;2009-01&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;Dev&lt;/th&gt;
&lt;td&gt;5.50&lt;/td&gt;
&lt;td&gt;6.50&lt;/td&gt;
&lt;td&gt;7.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;QA&lt;/th&gt;
&lt;td&gt;6.00&lt;/td&gt;
&lt;td&gt;6.00&lt;/td&gt;
&lt;td&gt;7.00&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</description>
		<content:encoded><![CDATA[<p>Example in HTML:</p>
<p>&lt;table&gt;<br />
&lt;tr&gt;<br />
&lt;th&gt;&lt;/th&gt;<br />
&lt;th&gt;2008-11&lt;/th&gt;<br />
&lt;th&gt;2008-12&lt;/th&gt;<br />
&lt;th&gt;2009-01&lt;/th&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;th&gt;Dev&lt;/th&gt;<br />
&lt;td&gt;5.50&lt;/td&gt;<br />
&lt;td&gt;6.50&lt;/td&gt;<br />
&lt;td&gt;7.50&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;th&gt;QA&lt;/th&gt;<br />
&lt;td&gt;6.00&lt;/td&gt;<br />
&lt;td&gt;6.00&lt;/td&gt;<br />
&lt;td&gt;7.00&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joshua Stewardson</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-3744</link>
		<dc:creator>Joshua Stewardson</dc:creator>
		<pubDate>Thu, 15 Jan 2009 20:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-3744</guid>
		<description>Is there any way to have a DataGrid display horizontally instead of vertically?  Like I want to have my headers be the first row like normal and also the first column?  I tried to check the DataGrid and the AdvancedDataGrid but couldn&#039;t find anything?

Thanks!

.:Joshua</description>
		<content:encoded><![CDATA[<p>Is there any way to have a DataGrid display horizontally instead of vertically?  Like I want to have my headers be the first row like normal and also the first column?  I tried to check the DataGrid and the AdvancedDataGrid but couldn&#8217;t find anything?</p>
<p>Thanks!</p>
<p>.:Joshua</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/comment-page-1/#comment-3746</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Tue, 06 Jan 2009 21:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/08/27/setting-the-horizontal-scrollbar-policy-on-a-datagrid-control-in-flex/#comment-3746</guid>
		<description>I notice that the scroll does not scroll smoothly, but &quot;jumps&quot; to keep a full field at the left edge of the view.  Is there any way to have the scroll work smoothly over large fields?  ie.  A field could be only partly shown on the left side of the view?

Love your site!</description>
		<content:encoded><![CDATA[<p>I notice that the scroll does not scroll smoothly, but &#8220;jumps&#8221; to keep a full field at the left edge of the view.  Is there any way to have the scroll work smoothly over large fields?  ie.  A field could be only partly shown on the left side of the view?</p>
<p>Love your site!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

