<?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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Flex &#8211; Preventing DataGrid scrolling when the dataprovider is updated.</title>
	<atom:link href="http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/</link>
	<description>[without unit tests] you&#039;re not refactoring; you&#039;re just changing shit. -Hamlet D&#039;Arcy</description>
	<lastBuildDate>Mon, 14 May 2012 21:01:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Keithlee2010</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-875</link>
		<dc:creator>Keithlee2010</dc:creator>
		<pubDate>Fri, 30 Dec 2011 16:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-875</guid>
		<description>Nice work!</description>
		<content:encoded><![CDATA[<p>Nice work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dasun</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-870</link>
		<dc:creator>Dasun</dc:creator>
		<pubDate>Fri, 09 Dec 2011 19:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-870</guid>
		<description>Thanks Buddy. Thank you very much. Good luck brother....</description>
		<content:encoded><![CDATA[<p>Thanks Buddy. Thank you very much. Good luck brother&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikram Bhatla83</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-855</link>
		<dc:creator>Vikram Bhatla83</dc:creator>
		<pubDate>Tue, 04 Oct 2011 21:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-855</guid>
		<description>This solution is not working for me.
verticalScrollPosition depends on the rowHeight and maxVerticalScrollPosition.
I am calculating it using:
  var vScroll:int = Math.ceil((grid.verticalScrollPosition/gridmaxVerticalScrollPosition)*grid.rowHeight);
This will return the approx correct vScroll. But still its not doing correct behavior.
 </description>
		<content:encoded><![CDATA[<p>This solution is not working for me.<br />
verticalScrollPosition depends on the rowHeight and maxVerticalScrollPosition.<br />
I am calculating it using:<br />
  var vScroll:int = Math.ceil((grid.verticalScrollPosition/gridmaxVerticalScrollPosition)*grid.rowHeight);<br />
This will return the approx correct vScroll. But still its not doing correct behavior.<br />
 </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sagar Jadhav</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-852</link>
		<dc:creator>Sagar Jadhav</dc:creator>
		<pubDate>Fri, 30 Sep 2011 19:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-852</guid>
		<description>You have saved me day and I cannot thank you enough man. God bless you</description>
		<content:encoded><![CDATA[<p>You have saved me day and I cannot thank you enough man. God bless you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the_new_mr</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-662</link>
		<dc:creator>the_new_mr</dc:creator>
		<pubDate>Fri, 21 Jan 2011 00:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-662</guid>
		<description>Thanks man!&lt;br&gt;&lt;br&gt;EXACTLY what I needed! :)</description>
		<content:encoded><![CDATA[<p>Thanks man!</p>
<p>EXACTLY what I needed! <img src='http://joelhooks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-660</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Tue, 18 Jan 2011 02:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-660</guid>
		<description>correct order is:&lt;br&gt;&quot;grid.selectedItem = storeItemForUpdate;&lt;br&gt;grid.verticalScrollPosition = vScroll;&quot; &lt;br&gt;try testing your code with a datagrid having long scroll. It doesn&#039;t selects the correct item. However changing this order &lt;br&gt;gives correct results.&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>correct order is:<br />&#8220;grid.selectedItem = storeItemForUpdate;<br />grid.verticalScrollPosition = vScroll;&#8221; <br />try testing your code with a datagrid having long scroll. It doesn&#39;t selects the correct item. However changing this order <br />gives correct results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pradeep</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-661</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Tue, 18 Jan 2011 02:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-661</guid>
		<description>Hi, i was using your code it works great!&lt;br&gt;&lt;br&gt;I just found a small problem with it. I think these two lines must be reversed.&lt;br&gt;&quot;grid.verticalScrollPosition = vScroll;&lt;br&gt;grid.selectedItem = storeItemForUpdate;&quot;&lt;br&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>Hi, i was using your code it works great!</p>
<p>I just found a small problem with it. I think these two lines must be reversed.<br />&#8220;grid.verticalScrollPosition = vScroll;<br />grid.selectedItem = storeItemForUpdate;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Aguilar</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-592</link>
		<dc:creator>Ricardo Aguilar</dc:creator>
		<pubDate>Tue, 14 Sep 2010 09:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-592</guid>
		<description>A lot of thanks!&lt;br&gt;&lt;br&gt;Ricardo (Colombia)</description>
		<content:encoded><![CDATA[<p>A lot of thanks!</p>
<p>Ricardo (Colombia)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JUANABREU</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-576</link>
		<dc:creator>JUANABREU</dc:creator>
		<pubDate>Fri, 20 Aug 2010 10:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-576</guid>
		<description>DUDE YOU ARE MY HERO!!! THANK YOU!!!</description>
		<content:encoded><![CDATA[<p>DUDE YOU ARE MY HERO!!! THANK YOU!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aroldo</title>
		<link>http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/comment-page-1/#comment-575</link>
		<dc:creator>Aroldo</dc:creator>
		<pubDate>Thu, 19 Aug 2010 23:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://joelhooks.com/2008/02/07/flex-preventing-datagrid-scrolling-when-the-dataprovider-is-updated/#comment-575</guid>
		<description>Joel,&lt;br&gt;&lt;br&gt;Thanks for your help, this is exactly what I need.&lt;br&gt;&lt;br&gt;Greetings,&lt;br&gt;Aroldo (Brasil)</description>
		<content:encoded><![CDATA[<p>Joel,</p>
<p>Thanks for your help, this is exactly what I need.</p>
<p>Greetings,<br />Aroldo (Brasil)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

