<?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: How to: determining when data is edited using the Flash CS3 DataGrid component</title>
	<atom:link href="http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/feed/" rel="self" type="application/rss+xml" />
	<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/</link>
	<description>Thoughts on web development, user-centered design, code, etc. by Paul Robertson</description>
	<lastBuildDate>Sat, 31 Jul 2010 01:58:04 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: xMort</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-67868</link>
		<dc:creator>xMort</dc:creator>
		<pubDate>Tue, 20 Oct 2009 15:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-67868</guid>
		<description>Great hack. I persuaded same solution (with two event handlers) but I constantly get new value for both events. I didn&#039;t experimented with even handler&#039;s priority.
Thanks again!</description>
		<content:encoded><![CDATA[<p>Great hack. I persuaded same solution (with two event handlers) but I constantly get new value for both events. I didn&#8217;t experimented with even handler&#8217;s priority.<br />
Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Nomer</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-63957</link>
		<dc:creator>Dennis Nomer</dc:creator>
		<pubDate>Tue, 14 Jul 2009 22:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-63957</guid>
		<description>The perfect hack! Who would have dreamed you have to set priority quite low to get the post-edit value? Paul saved us from more grueling hours of wasted time, because Adobe does not explain these basic things, nor make them easy.</description>
		<content:encoded><![CDATA[<p>The perfect hack! Who would have dreamed you have to set priority quite low to get the post-edit value? Paul saved us from more grueling hours of wasted time, because Adobe does not explain these basic things, nor make them easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ognjen</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-63473</link>
		<dc:creator>ognjen</dc:creator>
		<pubDate>Mon, 06 Jul 2009 23:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-63473</guid>
		<description>Hello,

I have some problem events in datagrid flex 3.
The main goal is to create new row when user finish editing the cell and hits the enter key. 

The problem is that for:
-click on new row with mouse
    or
-hitting the enter key from keyboard

is the same event reason: &quot;newRow&quot;

I &quot;ask&quot; a google for the solution but without luck.

First I tried to add an event listener to KeyboardEvent.KEY_UP, and it is working for each key, except the ENTER (method for that listener is called after the editing).

Can you please help me how to distinguish mouse click on edit end and ENTER from keyboard.

Thanx in advance,
Ognjen</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I have some problem events in datagrid flex 3.<br />
The main goal is to create new row when user finish editing the cell and hits the enter key. </p>
<p>The problem is that for:<br />
-click on new row with mouse<br />
    or<br />
-hitting the enter key from keyboard</p>
<p>is the same event reason: &#8220;newRow&#8221;</p>
<p>I &#8220;ask&#8221; a google for the solution but without luck.</p>
<p>First I tried to add an event listener to KeyboardEvent.KEY_UP, and it is working for each key, except the ENTER (method for that listener is called after the editing).</p>
<p>Can you please help me how to distinguish mouse click on edit end and ENTER from keyboard.</p>
<p>Thanx in advance,<br />
Ognjen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdRimrock</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-54331</link>
		<dc:creator>jdRimrock</dc:creator>
		<pubDate>Tue, 30 Dec 2008 00:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-54331</guid>
		<description>I have been researching this exact problem for the last couple of hours.  I have tried all of your &quot;doesn&#039;t work&quot; ideas, including looking at the itemEditorInstance property.  When I found your article, I breathed a sigh or relieve.  Thanks.</description>
		<content:encoded><![CDATA[<p>I have been researching this exact problem for the last couple of hours.  I have tried all of your &#8220;doesn&#8217;t work&#8221; ideas, including looking at the itemEditorInstance property.  When I found your article, I breathed a sigh or relieve.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweety</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-53117</link>
		<dc:creator>Tweety</dc:creator>
		<pubDate>Mon, 24 Nov 2008 09:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-53117</guid>
		<description>Thanks a lot for the post, it saved me a ton of time debugging.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the post, it saved me a ton of time debugging.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-52056</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Tue, 11 Nov 2008 16:52:49 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-52056</guid>
		<description>Hi Everyone,
As Tarun and Brian said that sometimes the value is not updated, I also sometimes get the same problem. Any Clues???</description>
		<content:encoded><![CDATA[<p>Hi Everyone,<br />
As Tarun and Brian said that sometimes the value is not updated, I also sometimes get the same problem. Any Clues???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tarun</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-50339</link>
		<dc:creator>Tarun</dc:creator>
		<pubDate>Tue, 14 Oct 2008 10:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-50339</guid>
		<description>As  said I am also facing the same problem that sometimes the underlying collection doesn’t seem to get updated. &quot;It seems like the edit doesn’t take hold. I’m not sure if the ITEM_EDIT_END event is thrown or not, but the collection itself is not updated. In fact, if I tab around the DataGrid cells, sometimes the old value seems to appear in a cell I just edited.&quot;

Has anyone else also faced the same problem and any workarounds for this?</description>
		<content:encoded><![CDATA[<p>As  said I am also facing the same problem that sometimes the underlying collection doesn’t seem to get updated. &#8220;It seems like the edit doesn’t take hold. I’m not sure if the ITEM_EDIT_END event is thrown or not, but the collection itself is not updated. In fact, if I tab around the DataGrid cells, sometimes the old value seems to appear in a cell I just edited.&#8221;</p>
<p>Has anyone else also faced the same problem and any workarounds for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dataprovider and datachange event - ActionScript.org Forums</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-49329</link>
		<dc:creator>dataprovider and datachange event - ActionScript.org Forums</dc:creator>
		<pubDate>Mon, 15 Sep 2008 09:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-49329</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] this article  http://probertson.com/articles/2007/.../#dataprovider    __________________ -------------------- Yogesh Puri [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://dev.wp-plugins.org/wiki/Kramer"><img src="http://probertson.com/homepages/43/d94818407/htdocs/probertson/wp-content/plugins/kramer.php?kramer=gif-icon" class="technorati-balloon" alt="Kramer auto Pingback" style="border:0;" /></a>[&#8230;] this article  <a href="http://probertson.com/articles/2007/.../#dataprovider" rel="nofollow">http://probertson.com/articles/2007/&#8230;/#dataprovider</a>    __________________ &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Yogesh Puri [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-49216</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 10 Sep 2008 23:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-49216</guid>
		<description>Hey Paul, thanks for this great article - it really got my gear spinning and I learned how the sequence of events fire in the DataGrid.

I came up with another method of handling DataGrid updates which involves listening to the dataProvider instead.  If you want to take a look, I posted an article here: http://www.verysimple.com/blog/2008/09/10/handling-data-updates-with-the-flex-as3-datagrid/</description>
		<content:encoded><![CDATA[<p>Hey Paul, thanks for this great article - it really got my gear spinning and I learned how the sequence of events fire in the DataGrid.</p>
<p>I came up with another method of handling DataGrid updates which involves listening to the dataProvider instead.  If you want to take a look, I posted an article here: <a href="http://www.verysimple.com/blog/2008/09/10/handling-data-updates-with-the-flex-as3-datagrid/" rel="nofollow">http://www.verysimple.com/blog/2008/09/10/handling-data-updates-with-the-flex-as3-datagrid/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VerySimple Dev Blog</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-49215</link>
		<dc:creator>VerySimple Dev Blog</dc:creator>
		<pubDate>Wed, 10 Sep 2008 23:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-49215</guid>
		<description>[...] article by Paul Robertson explains the sequence of DataGrid events and provides two workarounds that allow you to get the [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] article by Paul Robertson explains the sequence of DataGrid events and provides two workarounds that allow you to get the [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tristan</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-46780</link>
		<dc:creator>Tristan</dc:creator>
		<pubDate>Thu, 17 Jul 2008 21:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-46780</guid>
		<description>No offense to BuffDog up there, but for a boolean checkbox value, if it has changed, you always know the previous value without having to look. It is always (always) simply the opposite of the current value.

Hope you didn&#039;t spend too long figuring that out...</description>
		<content:encoded><![CDATA[<p>No offense to BuffDog up there, but for a boolean checkbox value, if it has changed, you always know the previous value without having to look. It is always (always) simply the opposite of the current value.</p>
<p>Hope you didn&#8217;t spend too long figuring that out&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riccardo</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-45439</link>
		<dc:creator>Riccardo</dc:creator>
		<pubDate>Sun, 22 Jun 2008 15:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-45439</guid>
		<description>Hi. I&#039;m new to AS3 code and I&#039;m keen on every kind of help I can find. This is great, because I&#039;m actually working with the DataGrid component and I still have to figure out its way of working.
Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hi. I&#8217;m new to AS3 code and I&#8217;m keen on every kind of help I can find. This is great, because I&#8217;m actually working with the DataGrid component and I still have to figure out its way of working.<br />
Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-45189</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Mon, 16 Jun 2008 23:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-45189</guid>
		<description>Anyone have the problem that sometimes the underlying collection doesn&#039;t seem to get updated?  Sporadically, it seems like the edit doesn&#039;t take hold.  I&#039;m not sure if the ITEM_EDIT_END event is thrown or not, but the collection itself is not updated.  In fact, if I tab around the DataGrid cells, sometimes the old value seems to appear in a cell I just edited.

Again, this only happens sporadically...</description>
		<content:encoded><![CDATA[<p>Anyone have the problem that sometimes the underlying collection doesn&#8217;t seem to get updated?  Sporadically, it seems like the edit doesn&#8217;t take hold.  I&#8217;m not sure if the ITEM_EDIT_END event is thrown or not, but the collection itself is not updated.  In fact, if I tab around the DataGrid cells, sometimes the old value seems to appear in a cell I just edited.</p>
<p>Again, this only happens sporadically&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-06-13 &#171; M@&#8217;s Blog</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-45020</link>
		<dc:creator>links for 2008-06-13 &#171; M@&#8217;s Blog</dc:creator>
		<pubDate>Fri, 13 Jun 2008 02:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-45020</guid>
		<description>[...] How to: determining when data is edited using the Flash CS3 DataGrid component, a bunch of Words, pu... It&#8217;s so sad how complicated everything has to be sometimes&#8230; and flex/actionscript is no different. Well, it&#8217;s different, I like it far better than Dot Net, but it still makes me sad that it&#8217;s complicated - it makes me feel like we just can&#8217;t get this r (tags: Datagrid actionscript flex) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] How to: determining when data is edited using the Flash CS3 DataGrid component, a bunch of Words, pu&#8230; It&#8217;s so sad how complicated everything has to be sometimes&#8230; and flex/actionscript is no different. Well, it&#8217;s different, I like it far better than Dot Net, but it still makes me sad that it&#8217;s complicated - it makes me feel like we just can&#8217;t get this r (tags: Datagrid actionscript flex) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/comment-page-1/#comment-40952</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 18 Mar 2008 21:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/articles/2007/05/01/flash-cs3-datagrid-detecting-data-change/#comment-40952</guid>
		<description>@Dragon Digital:

As you say, for the ActionScript 2.0 Flash DataGrid (aka the &quot;V2&quot; Flash component set) that&#039;s probably a good approach.

However, this article is about working with the ActionScript 3.0 DataGrid that ships with Flash CS3, which doesn&#039;t have a &lt;code&gt;cellEdit&lt;/code&gt; event. So unfortunately for people working with the Flash CS3 DataGrid component that solution isn&#039;t an option.</description>
		<content:encoded><![CDATA[<p>@Dragon Digital:</p>
<p>As you say, for the ActionScript 2.0 Flash DataGrid (aka the &#8220;V2&#8221; Flash component set) that&#8217;s probably a good approach.</p>
<p>However, this article is about working with the ActionScript 3.0 DataGrid that ships with Flash CS3, which doesn&#8217;t have a <code>cellEdit</code> event. So unfortunately for people working with the Flash CS3 DataGrid component that solution isn&#8217;t an option.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
