<?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 for Stephen Gray&#039;s dev blog</title>
	<atom:link href="http://blog.s-gray.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.s-gray.com</link>
	<description>e-commerce and integrations</description>
	<lastBuildDate>Mon, 08 Feb 2010 19:56:13 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on jQuery retrieving the data from an AJAX call into the global scope by JNat</title>
		<link>http://blog.s-gray.com/2009/07/27/jquery-retrieving-the-data-from-an-ajax-call-into-the-global-scope/#comment-141</link>
		<dc:creator>JNat</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=133#comment-141</guid>
		<description>Thanks for this, worked great.  async=false only seems to work in FF.  Your solution seems to work cross-browser.</description>
		<content:encoded><![CDATA[<p>Thanks for this, worked great.  async=false only seems to work in FF.  Your solution seems to work cross-browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Magento create a custom payment method by Stephen</title>
		<link>http://blog.s-gray.com/2009/11/11/magento-create-a-custom-payment-method/#comment-76</link>
		<dc:creator>Stephen</dc:creator>
		<pubDate>Thu, 19 Nov 2009 17:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=136#comment-76</guid>
		<description>Hi Patrick,

I’m not sure exactly what the cause of that error would be. Could you archive your files again so I can see your source?

Thanks,
Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>I’m not sure exactly what the cause of that error would be. Could you archive your files again so I can see your source?</p>
<p>Thanks,<br />
Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Magento create a custom payment method by Patrick</title>
		<link>http://blog.s-gray.com/2009/11/11/magento-create-a-custom-payment-method/#comment-74</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Tue, 17 Nov 2009 12:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=136#comment-74</guid>
		<description>I changed my code, but now I have another problem:

Fatal error: Call to a member function isAvailable() on a non-object in /var/www/vhost/web/shopASDFGH/app/code/core/Mage/Payment/Helper/Data.php on line 83

I don&#039;t know why. Do you have an idea whats wrong?

Greets
Patrick</description>
		<content:encoded><![CDATA[<p>I changed my code, but now I have another problem:</p>
<p>Fatal error: Call to a member function isAvailable() on a non-object in /var/www/vhost/web/shopASDFGH/app/code/core/Mage/Payment/Helper/Data.php on line 83</p>
<p>I don&#8217;t know why. Do you have an idea whats wrong?</p>
<p>Greets<br />
Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Magento create a custom payment method by Stephen Gray</title>
		<link>http://blog.s-gray.com/2009/11/11/magento-create-a-custom-payment-method/#comment-73</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Sat, 14 Nov 2009 22:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=136#comment-73</guid>
		<description>Hi Patrick,

That first error is my fault. I had the method name for the refund() method as void() as I had copied the code from the other method!

Changed in the above code now.

As for return values, the original method returns itself, $this. You can check this by looking for the methods void(), authorize() etc in the file: app/code/core/Mage/Payment/Model/Method/Abstract.php

I can&#039;t remember exactly but I don&#039;t think it minds if you don&#039;t return anything, but for good practise&#039;s sake I guess we should :)

Hope it helps,
Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>That first error is my fault. I had the method name for the refund() method as void() as I had copied the code from the other method!</p>
<p>Changed in the above code now.</p>
<p>As for return values, the original method returns itself, $this. You can check this by looking for the methods void(), authorize() etc in the file: app/code/core/Mage/Payment/Model/Method/Abstract.php</p>
<p>I can&#8217;t remember exactly but I don&#8217;t think it minds if you don&#8217;t return anything, but for good practise&#8217;s sake I guess we should <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope it helps,<br />
Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Magento create a custom payment method by Patrick</title>
		<link>http://blog.s-gray.com/2009/11/11/magento-create-a-custom-payment-method/#comment-72</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 13 Nov 2009 18:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=136#comment-72</guid>
		<description>Hi Stephen,

thanks for sharing your knowledge about creating a custom payment module. I need an extension for magento to handle a credit card payment with an third party company.

I have a problem with your tutorial. After Creating the files the checkout page shows me an error:

Fatal error: Cannot redeclare CompanyName_NewModule_Model_PaymentLogic::void() in /var/www/vhost/web/shopASDFGH/app/code/local/MyModules/ModuleName/Model/PaymentLogic.php on line 89

What can I do?

The next question is, which values I have to return in the methods?

I have uploaded my files on http://www.p-squared.de/MyModules.zip</description>
		<content:encoded><![CDATA[<p>Hi Stephen,</p>
<p>thanks for sharing your knowledge about creating a custom payment module. I need an extension for magento to handle a credit card payment with an third party company.</p>
<p>I have a problem with your tutorial. After Creating the files the checkout page shows me an error:</p>
<p>Fatal error: Cannot redeclare CompanyName_NewModule_Model_PaymentLogic::void() in /var/www/vhost/web/shopASDFGH/app/code/local/MyModules/ModuleName/Model/PaymentLogic.php on line 89</p>
<p>What can I do?</p>
<p>The next question is, which values I have to return in the methods?</p>
<p>I have uploaded my files on <a href="http://www.p-squared.de/MyModules.zip" rel="nofollow">http://www.p-squared.de/MyModules.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by shjeel ahmed</title>
		<link>http://blog.s-gray.com/about_me/#comment-6</link>
		<dc:creator>shjeel ahmed</dc:creator>
		<pubDate>Tue, 06 Oct 2009 11:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.s-gray.com/?page_id=177#comment-6</guid>
		<description>I am recruiting for PHP Developers for a number of exciting businesses in South East. Working on exciting Next Generation search engine, IPTV solutions, Online Gaming.

I need people with Server Side PHP, Mysql, (Zend, CodeIgniter, Drupal, Symfony - either) Javascript, XML, Soap experience. I am happy to talk to Junior, to Senior developers.

The specs can be viewed on http://LNK.by/cUYQ

Thanks
Shjeel
Shjeel@abrs.com
www.abrs.com
01491411020</description>
		<content:encoded><![CDATA[<p>I am recruiting for PHP Developers for a number of exciting businesses in South East. Working on exciting Next Generation search engine, IPTV solutions, Online Gaming.</p>
<p>I need people with Server Side PHP, Mysql, (Zend, CodeIgniter, Drupal, Symfony &#8211; either) Javascript, XML, Soap experience. I am happy to talk to Junior, to Senior developers.</p>
<p>The specs can be viewed on <a href="http://LNK.by/cUYQ" rel="nofollow">http://LNK.by/cUYQ</a></p>
<p>Thanks<br />
Shjeel<br />
<a href="mailto:Shjeel@abrs.com">Shjeel@abrs.com</a><br />
<a href="http://www.abrs.com" rel="nofollow">http://www.abrs.com</a><br />
01491411020</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by no one</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-37</link>
		<dc:creator>no one</dc:creator>
		<pubDate>Sun, 20 Sep 2009 14:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-37</guid>
		<description>Thanks for the help.</description>
		<content:encoded><![CDATA[<p>Thanks for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by Anuroop Vincent</title>
		<link>http://blog.s-gray.com/about_me/#comment-5</link>
		<dc:creator>Anuroop Vincent</dc:creator>
		<pubDate>Tue, 15 Sep 2009 12:59:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.s-gray.com/?page_id=177#comment-5</guid>
		<description>Hai Stephen,

             This is Anuroop Vincent  from INDIA.i am also a programmer.if u have overloaded work u can give me some work.i will do it for less money.my conact number is 00919895944563.u can contact me any time.i know JSP,Java and flex.

                 I appreciate u for doing all the development without a university degree.self study is because of u r ambition Keep it up.

Thanks And Regards.
Anuroop Vincent</description>
		<content:encoded><![CDATA[<p>Hai Stephen,</p>
<p>             This is Anuroop Vincent  from INDIA.i am also a programmer.if u have overloaded work u can give me some work.i will do it for less money.my conact number is 00919895944563.u can contact me any time.i know JSP,Java and flex.</p>
<p>                 I appreciate u for doing all the development without a university degree.self study is because of u r ambition Keep it up.</p>
<p>Thanks And Regards.<br />
Anuroop Vincent</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Neethun</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-56</link>
		<dc:creator>Neethun</dc:creator>
		<pubDate>Wed, 09 Sep 2009 07:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-56</guid>
		<description>Thanks for the simple solution for my complex problem.</description>
		<content:encoded><![CDATA[<p>Thanks for the simple solution for my complex problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by suresh</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-55</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Fri, 04 Sep 2009 11:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-55</guid>
		<description>simply very nice!!Thanks!!!!!!!!</description>
		<content:encoded><![CDATA[<p>simply very nice!!Thanks!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex save changes from an AdvancedDataGrid using itemEditEnd by epilefserdna</title>
		<link>http://blog.s-gray.com/2008/09/15/flex-save-changes-from-an-advanceddatagrid-using-itemeditend/#comment-65</link>
		<dc:creator>epilefserdna</dc:creator>
		<pubDate>Fri, 28 Aug 2009 20:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=96#comment-65</guid>
		<description>THANK YOU VERY MUCH!!!. You saved my day.</description>
		<content:encoded><![CDATA[<p>THANK YOU VERY MUCH!!!. You saved my day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex Processing XML response from HTTPService by James L.</title>
		<link>http://blog.s-gray.com/2008/08/08/flex-processing-xml-response-from-httpservice/#comment-41</link>
		<dc:creator>James L.</dc:creator>
		<pubDate>Wed, 26 Aug 2009 01:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=17#comment-41</guid>
		<description>I glad I could learn something here even when I have undertake a few Flex projects. I accidently overlook something that I use XMLListCollection to process my XML data instead of simplify with XML datatype as found in your tutorial.</description>
		<content:encoded><![CDATA[<p>I glad I could learn something here even when I have undertake a few Flex projects. I accidently overlook something that I use XMLListCollection to process my XML data instead of simplify with XML datatype as found in your tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Christian Yates</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-54</link>
		<dc:creator>Christian Yates</dc:creator>
		<pubDate>Tue, 25 Aug 2009 19:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-54</guid>
		<description>Stephen,

Thanks for this summary. I did find a problem when I tried to implement it though. You say:

&lt;blockquote&gt;Notice the {} around the groupName attributes of the RadioButton controls. You can then do this to select the value:&lt;/blockquote&gt;

But I found that the value was only returned if the groupName parameter was set to the id of the RadioButtonGroup WITHOUT the brackets.

I&#039;m using Flex 3.</description>
		<content:encoded><![CDATA[<p>Stephen,</p>
<p>Thanks for this summary. I did find a problem when I tried to implement it though. You say:</p>
<blockquote><p>Notice the {} around the groupName attributes of the RadioButton controls. You can then do this to select the value:</p></blockquote>
<p>But I found that the value was only returned if the groupName parameter was set to the id of the RadioButtonGroup WITHOUT the brackets.</p>
<p>I&#8217;m using Flex 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-15</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Mon, 27 Jul 2009 08:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-15</guid>
		<description>Hi James,

You can achieve what you want using .find().

&lt;code&gt;$(&#039;#IDofUL&#039;).find(&#039;li&#039;).each(function()&lt;/code&gt;
&lt;code&gt;{&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;// do something with li&lt;/code&gt;
&lt;code&gt;});&lt;/code&gt;

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi James,</p>
<p>You can achieve what you want using .find().</p>
<p><code>$('#IDofUL').find('li').each(function()</code><br />
<code>{</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;// do something with li</code><br />
<code>});</code></p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by James</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-14</link>
		<dc:creator>James</dc:creator>
		<pubDate>Sun, 12 Jul 2009 20:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-14</guid>
		<description>Hi, i see your regex! Its nice to know you use those! But i have a problem, im not sure on how to use the regex.

i need to search for all nested li`s within a ul ( where any li can have it`s own ul with li`s) but i cant get it right tho..

What would be the query or regex for this?

#navigation * li doesnt work.. so im kinda not sure what to do  now</description>
		<content:encoded><![CDATA[<p>Hi, i see your regex! Its nice to know you use those! But i have a problem, im not sure on how to use the regex.</p>
<p>i need to search for all nested li`s within a ul ( where any li can have it`s own ul with li`s) but i cant get it right tho..</p>
<p>What would be the query or regex for this?</p>
<p>#navigation * li doesnt work.. so im kinda not sure what to do  now</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by jQuery wildcard selectors - update &#171; Stephen&#8217;s dev blog</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-13</link>
		<dc:creator>jQuery wildcard selectors - update &#171; Stephen&#8217;s dev blog</dc:creator>
		<pubDate>Fri, 24 Apr 2009 09:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-13</guid>
		<description>[...]    Flex 3 DataGrid double click eventjQuery wildcard selectorsFlex getting selected RadioButton valuejQuery loading remote/external javascript files using [...]</description>
		<content:encoded><![CDATA[<p>[...]    Flex 3 DataGrid double click eventjQuery wildcard selectorsFlex getting selected RadioButton valuejQuery loading remote/external javascript files using [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery loading remote/external javascript files using getScript() by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/09/22/jquery-loading-external-javascript-files-using-getscript/#comment-69</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Fri, 24 Apr 2009 09:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=109#comment-69</guid>
		<description>Hi Michael,

Thanks for the tip. As always the jQuery devs had thought this one through and unfortunately I&#039;d not thought about using the callback!

Cheers,
Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>Thanks for the tip. As always the jQuery devs had thought this one through and unfortunately I&#8217;d not thought about using the callback!</p>
<p>Cheers,<br />
Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex save changes from an AdvancedDataGrid using itemEditEnd by Daniel</title>
		<link>http://blog.s-gray.com/2008/09/15/flex-save-changes-from-an-advanceddatagrid-using-itemeditend/#comment-62</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 24 Apr 2009 03:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=96#comment-62</guid>
		<description>Awesome post. This saved me so much time. Thanks!</description>
		<content:encoded><![CDATA[<p>Awesome post. This saved me so much time. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery loading remote/external javascript files using getScript() by Michael Wales</title>
		<link>http://blog.s-gray.com/2008/09/22/jquery-loading-external-javascript-files-using-getscript/#comment-68</link>
		<dc:creator>Michael Wales</dc:creator>
		<pubDate>Sat, 04 Apr 2009 15:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=109#comment-68</guid>
		<description>That&#039;s what the callback function is for:

&lt;code&gt;$.getsScript(&#039;myscript.js&#039;, function() {
  // Call functions from myscript.js here
});&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>That&#8217;s what the callback function is for:</p>
<p><code>$.getsScript('myscript.js', function() {<br />
  // Call functions from myscript.js here<br />
});</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex save changes from an AdvancedDataGrid using itemEditEnd by ANKUR</title>
		<link>http://blog.s-gray.com/2008/09/15/flex-save-changes-from-an-advanceddatagrid-using-itemeditend/#comment-61</link>
		<dc:creator>ANKUR</dc:creator>
		<pubDate>Tue, 31 Mar 2009 17:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=96#comment-61</guid>
		<description>U rock dude.............................</description>
		<content:encoded><![CDATA[<p>U rock dude&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by vidya</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-35</link>
		<dc:creator>vidya</dc:creator>
		<pubDate>Mon, 30 Mar 2009 12:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-35</guid>
		<description>can we use states and transitions in datagrid for swaping columns.i dont know how to do this.if anybody knows please send the code asap.
thank you</description>
		<content:encoded><![CDATA[<p>can we use states and transitions in datagrid for swaping columns.i dont know how to do this.if anybody knows please send the code asap.<br />
thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery loading remote/external javascript files using getScript() by Dynamically Load JavaScript With jQuery &#171; dreamsincode</title>
		<link>http://blog.s-gray.com/2008/09/22/jquery-loading-external-javascript-files-using-getscript/#comment-66</link>
		<dc:creator>Dynamically Load JavaScript With jQuery &#171; dreamsincode</dc:creator>
		<pubDate>Sun, 22 Mar 2009 00:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=109#comment-66</guid>
		<description>[...] Dynamically Load JavaScript With&#160;jQuery  Another wordpress blogger, Stephen at colourgrey.wordpress.com has an excellent article on dynamically loading javascript with jQuery. [...]</description>
		<content:encoded><![CDATA[<p>[...] Dynamically Load JavaScript With&nbsp;jQuery  Another wordpress blogger, Stephen at colourgrey.wordpress.com has an excellent article on dynamically loading javascript with jQuery. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by oma</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-34</link>
		<dc:creator>oma</dc:creator>
		<pubDate>Mon, 02 Mar 2009 10:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-34</guid>
		<description>Thanx for the tip ;)</description>
		<content:encoded><![CDATA[<p>Thanx for the tip <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex save changes from an AdvancedDataGrid using itemEditEnd by SGIA</title>
		<link>http://blog.s-gray.com/2008/09/15/flex-save-changes-from-an-advanceddatagrid-using-itemeditend/#comment-60</link>
		<dc:creator>SGIA</dc:creator>
		<pubDate>Thu, 12 Feb 2009 09:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=96#comment-60</guid>
		<description>Thanks for this post.

event.currentTarget.itemEditorInstance.text was exactly what I was after.</description>
		<content:encoded><![CDATA[<p>Thanks for this post.</p>
<p>event.currentTarget.itemEditorInstance.text was exactly what I was after.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex Processing XML response from HTTPService by Neel</title>
		<link>http://blog.s-gray.com/2008/08/08/flex-processing-xml-response-from-httpservice/#comment-40</link>
		<dc:creator>Neel</dc:creator>
		<pubDate>Mon, 26 Jan 2009 15:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=17#comment-40</guid>
		<description>Thanks a lot. It&#039;s a really good article and it&#039;s even better when you are stuck :)

Perhaps you can include how to update the data in DataGrid in some article (or perhaps you already have).

Thanks,
-Neel.</description>
		<content:encoded><![CDATA[<p>Thanks a lot. It&#8217;s a really good article and it&#8217;s even better when you are stuck <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Perhaps you can include how to update the data in DataGrid in some article (or perhaps you already have).</p>
<p>Thanks,<br />
-Neel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery loading remote/external javascript files using getScript() by Nick LaPrell</title>
		<link>http://blog.s-gray.com/2008/09/22/jquery-loading-external-javascript-files-using-getscript/#comment-67</link>
		<dc:creator>Nick LaPrell</dc:creator>
		<pubDate>Tue, 13 Jan 2009 19:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=109#comment-67</guid>
		<description>Great yet simple. Very helpful. Thanks!</description>
		<content:encoded><![CDATA[<p>Great yet simple. Very helpful. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery create a client-side MVC by Recent Links Tagged With "function" - JabberTags</title>
		<link>http://blog.s-gray.com/2008/08/28/jquery-create-a-client-side-mvc/#comment-59</link>
		<dc:creator>Recent Links Tagged With "function" - JabberTags</dc:creator>
		<pubDate>Wed, 31 Dec 2008 21:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=85#comment-59</guid>
		<description>[...] on Sat 27-12-2008   Two Random Things I learned this Week Saved by Trueneutral on Sun 21-12-2008   jQuery create a client-side MVC Saved by kgl on Wed 17-12-2008   The Patent System is a Hashtable without a Hash Function Saved by [...]</description>
		<content:encoded><![CDATA[<p>[...] on Sat 27-12-2008   Two Random Things I learned this Week Saved by Trueneutral on Sun 21-12-2008   jQuery create a client-side MVC Saved by kgl on Wed 17-12-2008   The Patent System is a Hashtable without a Hash Function Saved by [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-52</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Fri, 21 Nov 2008 10:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-52</guid>
		<description>Hi JK,

I&#039;ve never actually tried that myself and after searching around, it doesn&#039;t look like that many people have either!

I found a few results which looked hopeful but the site&#039;s were down. The closest I could find was this blog post:

http://stackoverflow.com/questions/112036?sort=votes

Look at the second example, he made some changes from a comment&#039;s suggestion and it seems he&#039;s got it working.

Let me know how it goes, I&#039;d be interested to see if you get it working!

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi JK,</p>
<p>I&#8217;ve never actually tried that myself and after searching around, it doesn&#8217;t look like that many people have either!</p>
<p>I found a few results which looked hopeful but the site&#8217;s were down. The closest I could find was this blog post:</p>
<p><a href="http://stackoverflow.com/questions/112036?sort=votes" rel="nofollow">http://stackoverflow.com/questions/112036?sort=votes</a></p>
<p>Look at the second example, he made some changes from a comment&#8217;s suggestion and it seems he&#8217;s got it working.</p>
<p>Let me know how it goes, I&#8217;d be interested to see if you get it working!</p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-44</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Fri, 21 Nov 2008 10:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-44</guid>
		<description>Hi Isan,

I think Ryan means that outerDocument is the parent Application.

Whether your RadioButtonHeaderRenderer will be able to reference the outerDocument I guess depends on where your RadioButtonHeaderRenderer is.

But in most cases I don&#039;t think there should be a problem access functions of the parent application using outerDocument.function();

Let me know if you get it sorted!

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Isan,</p>
<p>I think Ryan means that outerDocument is the parent Application.</p>
<p>Whether your RadioButtonHeaderRenderer will be able to reference the outerDocument I guess depends on where your RadioButtonHeaderRenderer is.</p>
<p>But in most cases I don&#8217;t think there should be a problem access functions of the parent application using outerDocument.function();</p>
<p>Let me know if you get it sorted!</p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by nithya</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-33</link>
		<dc:creator>nithya</dc:creator>
		<pubDate>Tue, 18 Nov 2008 14:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-33</guid>
		<description>Hi stephen,

         I have a datagrid with 4 columns in which lastcolumn holds itemrenderer as mx:image.  am populating the datagrid values from a backend. based on a  boolean condition i want to display the image in  last column . say if false na, icon should be present in that row. if the value is false  that cell shoul not possess any icon.

i dont know how to do this.

as the item renderer is defined for the last datagrid column am getting the icon for all the rows.

please help me out to solve this issue..

Thanks in advance,
nithya</description>
		<content:encoded><![CDATA[<p>Hi stephen,</p>
<p>         I have a datagrid with 4 columns in which lastcolumn holds itemrenderer as mx:image.  am populating the datagrid values from a backend. based on a  boolean condition i want to display the image in  last column . say if false na, icon should be present in that row. if the value is false  that cell shoul not possess any icon.</p>
<p>i dont know how to do this.</p>
<p>as the item renderer is defined for the last datagrid column am getting the icon for all the rows.</p>
<p>please help me out to solve this issue..</p>
<p>Thanks in advance,<br />
nithya</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Isan</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-51</link>
		<dc:creator>Isan</dc:creator>
		<pubDate>Fri, 14 Nov 2008 05:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-51</guid>
		<description>Hi Ryan,

I have the same problem... and I am trying to do what you did.  The problem is how will my RadioButtonHeaderRenderer will get the &#039;outerDocument&#039; reference?

I am assuming &#039;outerDocument&#039; is the DataGrid...</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>I have the same problem&#8230; and I am trying to do what you did.  The problem is how will my RadioButtonHeaderRenderer will get the &#8216;outerDocument&#8217; reference?</p>
<p>I am assuming &#8216;outerDocument&#8217; is the DataGrid&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by JK</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-45</link>
		<dc:creator>JK</dc:creator>
		<pubDate>Mon, 10 Nov 2008 17:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-45</guid>
		<description>Would you know how to add that RadioButton Group to a datagrid? Id like to bind some data to a grid, and add a RBG to each row. Allowing the user to select some value for a large list.

thanks</description>
		<content:encoded><![CDATA[<p>Would you know how to add that RadioButton Group to a datagrid? Id like to bind some data to a grid, and add a RBG to each row. Allowing the user to select some value for a large list.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-32</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Mon, 03 Nov 2008 11:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-32</guid>
		<description>Hi Zima,

Sorry for the late reply.

There&#039;s no native method to hide a row so you&#039;ll most likely have to use either .removeChildAt to remove the row, or take the row out of the DataGrid&#039;s dataProvider and re-assign it to the table.

Hope it helps,
Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Zima,</p>
<p>Sorry for the late reply.</p>
<p>There&#8217;s no native method to hide a row so you&#8217;ll most likely have to use either .removeChildAt to remove the row, or take the row out of the DataGrid&#8217;s dataProvider and re-assign it to the table.</p>
<p>Hope it helps,<br />
Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Zima</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-31</link>
		<dc:creator>Zima</dc:creator>
		<pubDate>Thu, 23 Oct 2008 16:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-31</guid>
		<description>Great example, any advise how I can hide the row that I doubleclick ?</description>
		<content:encoded><![CDATA[<p>Great example, any advise how I can hide the row that I doubleclick ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-29</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Fri, 17 Oct 2008 13:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-29</guid>
		<description>Hi Nithya,

Sorry for the late, late, late reply, been crazily busy lately!

So your exact issue is;

You want a button as an itemRenderer in a DataGrid and when you click the button, you want to load a page (or State etc) with details relating to that row?

Say if you had a simple DataGrid with two columns (Project name, View) with the second column containing a button, you could do something like this:

&lt;code&gt;&lt;mx:Script&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&lt;![CDATA[ &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;protected function viewSelectedProject():void&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var selectedProject:Object = ProjectDataGrid.selectedItem;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Alert.show(&#039;Project name: &#039;+selectedProject.project_name);&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;]]&gt;&lt;/code&gt;
&lt;code&gt;&lt;/mx:Script&gt; &lt;/code&gt;
&lt;code&gt;&lt;mx:DataGrid selectionMode=&quot;singleRow&quot; id=&quot;ProjectDataGrid&quot;&gt;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&lt;mx:columns&gt;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;mx:DataGridColumn headerText=&quot;Project name&quot; dataField=&quot;project_name&quot;/&gt;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;mx:DataGridColumn headerText=&quot;View&quot;&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;mx:itemRenderer&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;mx:Component&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;mx:Canvas xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;mx:Script&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;![CDATA[ &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;protected function viewProject(event:MouseEvent):void&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{
&lt;/code&gt;&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;outerDocument.viewSelectedProject();&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}
&lt;/code&gt;&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;]]&gt;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/mx:Script&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;mx:Button label=&quot;View&quot; click=&quot;viewProject(event);&quot;/&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/mx:Canvas&gt; &lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/mx:Component&gt;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/mx:itemRenderer&gt;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/mx:DataGridColumn&gt;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;&lt;/mx:columns&gt;&lt;/code&gt;
&lt;code&gt;&lt;/mx:DataGrid&gt;&lt;/code&gt;

Let me know if it works! Not tested!

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Nithya,</p>
<p>Sorry for the late, late, late reply, been crazily busy lately!</p>
<p>So your exact issue is;</p>
<p>You want a button as an itemRenderer in a DataGrid and when you click the button, you want to load a page (or State etc) with details relating to that row?</p>
<p>Say if you had a simple DataGrid with two columns (Project name, View) with the second column containing a button, you could do something like this:</p>
<p><code>&lt;mx:Script&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;![CDATA[ </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected function viewSelectedProject():void</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var selectedProject:Object = ProjectDataGrid.selectedItem;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alert.show('Project name: '+selectedProject.project_name);</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;]]&gt;</code><br />
<code>&lt;/mx:Script&gt; </code><br />
<code>&lt;mx:DataGrid selectionMode=&quot;singleRow&quot; id=&quot;ProjectDataGrid&quot;&gt;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:columns&gt;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn headerText=&quot;Project name&quot; dataField=&quot;project_name&quot;/&gt;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn headerText=&quot;View&quot;&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:itemRenderer&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Component&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Canvas xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Script&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;![CDATA[ </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected function viewProject(event:MouseEvent):void</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
</code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;outerDocument.viewSelectedProject();</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
</code><code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]&gt;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:Script&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Button label=&quot;View&quot; click=&quot;viewProject(event);&quot;/&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:Canvas&gt; </code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:Component&gt;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:itemRenderer&gt;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:DataGridColumn&gt;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:columns&gt;</code><br />
<code>&lt;/mx:DataGrid&gt;</code></p>
<p>Let me know if it works! Not tested!</p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by nithya</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-30</link>
		<dc:creator>nithya</dc:creator>
		<pubDate>Tue, 07 Oct 2008 12:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-30</guid>
		<description>Hi ,

  Please clarify me.

Requirement: Need to use a itemrenderer link button for a particular column say(ProjectName) in a datagrid. when i click the projectName, need to load a page with its corresponding projectname and its relevant details.

Issue:

 i need to get a selected row/ cell value for a column say ProjectName and it has to be appended in the url.

dont know how to retrieve the selected row/cell value by using a datagrid itemrenderer.

kindly help me out to solve this issue .</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>  Please clarify me.</p>
<p>Requirement: Need to use a itemrenderer link button for a particular column say(ProjectName) in a datagrid. when i click the projectName, need to load a page with its corresponding projectname and its relevant details.</p>
<p>Issue:</p>
<p> i need to get a selected row/ cell value for a column say ProjectName and it has to be appended in the url.</p>
<p>dont know how to retrieve the selected row/cell value by using a datagrid itemrenderer.</p>
<p>kindly help me out to solve this issue .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex Processing XML response from HTTPService by Recent Links Tagged With "e4x" - JabberTags</title>
		<link>http://blog.s-gray.com/2008/08/08/flex-processing-xml-response-from-httpservice/#comment-39</link>
		<dc:creator>Recent Links Tagged With "e4x" - JabberTags</dc:creator>
		<pubDate>Mon, 06 Oct 2008 06:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=17#comment-39</guid>
		<description>[...] public links &gt;&gt; e4x   Flex Processing XML response from HTTPService Saved by eXtraordinarycat on Sat 04-10-2008   E4X: A better way to deal with XML. Saved by [...]</description>
		<content:encoded><![CDATA[<p>[...] public links &gt;&gt; e4x   Flex Processing XML response from HTTPService Saved by eXtraordinarycat on Sat 04-10-2008   E4X: A better way to deal with XML. Saved by [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-46</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Thu, 25 Sep 2008 09:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-46</guid>
		<description>Hi Ryan,

Sorry for the late reply! I&#039;m glad you got it sorted out.

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>Sorry for the late reply! I&#8217;m glad you got it sorted out.</p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Ryan</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-48</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 24 Sep 2008 23:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-48</guid>
		<description>Hi Stephen,

I figured it out.  Thanks for pointing me in the right direction.  I ended up using this -  change=&quot;text=rbgWeek.selectedValue.toString(); outerDocument.doSomething(text)&quot;

Ryan</description>
		<content:encoded><![CDATA[<p>Hi Stephen,</p>
<p>I figured it out.  Thanks for pointing me in the right direction.  I ended up using this &#8211;  change=&#8221;text=rbgWeek.selectedValue.toString(); outerDocument.doSomething(text)&#8221;</p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Ryan</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-47</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 24 Sep 2008 22:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-47</guid>
		<description>Stephen,

Thanks for your response.

How do I reference selectedRadioValue in my ActionScript code?


















When the user clicks a button, I need to grab the value of the radiobuttongroup and do some processing.  I&#039;m hitting my head against the wall. :)

Ryan</description>
		<content:encoded><![CDATA[<p>Stephen,</p>
<p>Thanks for your response.</p>
<p>How do I reference selectedRadioValue in my ActionScript code?</p>
<p>When the user clicks a button, I need to grab the value of the radiobuttongroup and do some processing.  I&#8217;m hitting my head against the wall. <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-50</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Wed, 24 Sep 2008 21:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-50</guid>
		<description>Hi Ryan,

Thanks for reading.

You&#039;ll have to assign the selectedValue of the RadioButtonGroup to a public variable within the itemRenderer. You can then update this variable whenever the RadioButtonGroup changes.

I.E.

&lt;code&gt;public var selectedRadioValue:Object;&lt;/code&gt;
&lt;code&gt;...&lt;/code&gt;
&lt;code&gt;&lt;mx:RadioButtonGroup id=&quot;myGroup&quot; itemClick=&quot;selectedRadioValue=myGroup.selectedValue&quot; /&gt;&lt;/code&gt;

Not tested, let me know if it works.

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>Thanks for reading.</p>
<p>You&#8217;ll have to assign the selectedValue of the RadioButtonGroup to a public variable within the itemRenderer. You can then update this variable whenever the RadioButtonGroup changes.</p>
<p>I.E.</p>
<p><code>public var selectedRadioValue:Object;</code><br />
<code>...</code><br />
<code>&lt;mx:RadioButtonGroup id="myGroup" itemClick="selectedRadioValue=myGroup.selectedValue" /&gt;</code></p>
<p>Not tested, let me know if it works.</p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Ryan</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-49</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 24 Sep 2008 20:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-49</guid>
		<description>Hi Stephen,
I have a radiobuttongroup in a datagrid.  I&#039;m trying to the selected RadioButtonGroup for the selected row.  I&#039;ve dropped the RadioButtonGroup into my datagarid as an itemRenderer.  Any ideas?

date = grdItems.???.rbgWeek.selectedValue;

Thanks!
Ryan</description>
		<content:encoded><![CDATA[<p>Hi Stephen,<br />
I have a radiobuttongroup in a datagrid.  I&#8217;m trying to the selected RadioButtonGroup for the selected row.  I&#8217;ve dropped the RadioButtonGroup into my datagarid as an itemRenderer.  Any ideas?</p>
<p>date = grdItems.???.rbgWeek.selectedValue;</p>
<p>Thanks!<br />
Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-28</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Fri, 19 Sep 2008 14:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-28</guid>
		<description>Hi benjamin,

Thanks for the comment, I&#039;m glad it helped! :D

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi benjamin,</p>
<p>Thanks for the comment, I&#8217;m glad it helped! <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by benjamin</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-27</link>
		<dc:creator>benjamin</dc:creator>
		<pubDate>Fri, 19 Sep 2008 10:05:55 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-27</guid>
		<description>Thank you soooo much worked fine obviously. but difficult ressource to find although completely straight forward. cheers</description>
		<content:encoded><![CDATA[<p>Thank you soooo much worked fine obviously. but difficult ressource to find although completely straight forward. cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery create a client-side MVC by SproutCore: a proper javascript framework &#171; Stephen&#8217;s blog</title>
		<link>http://blog.s-gray.com/2008/08/28/jquery-create-a-client-side-mvc/#comment-58</link>
		<dc:creator>SproutCore: a proper javascript framework &#171; Stephen&#8217;s blog</dc:creator>
		<pubDate>Wed, 17 Sep 2008 17:03:58 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=85#comment-58</guid>
		<description>[...] 17, 2008   I wrote a while ago about creating a client side MVC system in [...]</description>
		<content:encoded><![CDATA[<p>[...] 17, 2008   I wrote a while ago about creating a client side MVC system in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-26</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Thu, 04 Sep 2008 13:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-26</guid>
		<description>Hi Mary,

Sorry I misunderstood your original problem :P I&#039;ve been investigating again and I&#039;ve come across an interesting idea which may help.

Basically you create a simple custom DataGrid class which adds a getter method for returning an array of all itemRenderers for all rows.

Then on your &#039;click&#039; function you loop through this array, check to see if the renderer corresponds to the row that was clicked and then do something with it. In the example I found he was using this method to make that row&#039;s itemRenderer turn the row bold, but I&#039;m sure it could be modified to make the itemRenderer hidden?

The example I found is: http://blog.paranoidferret.com/index.php/2008/09/02/accessing-datagrid-itemrenderers/

I was thinking the line you could change to hide the itemRenderer could be:

&lt;code&gt;rowRenderers[i][j].setStyle(&quot;fontWeight&quot;, &quot;bold&quot;);&lt;/code&gt;

What would happen if you change this to:

&lt;code&gt;rowRenderers[i][j].visible = false;&lt;/code&gt;

I haven&#039;t tested this so I don&#039;t even know if it&#039;s possible, but worth a try :P

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Mary,</p>
<p>Sorry I misunderstood your original problem <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  I&#8217;ve been investigating again and I&#8217;ve come across an interesting idea which may help.</p>
<p>Basically you create a simple custom DataGrid class which adds a getter method for returning an array of all itemRenderers for all rows.</p>
<p>Then on your &#8216;click&#8217; function you loop through this array, check to see if the renderer corresponds to the row that was clicked and then do something with it. In the example I found he was using this method to make that row&#8217;s itemRenderer turn the row bold, but I&#8217;m sure it could be modified to make the itemRenderer hidden?</p>
<p>The example I found is: <a href="http://blog.paranoidferret.com/index.php/2008/09/02/accessing-datagrid-itemrenderers/" rel="nofollow">http://blog.paranoidferret.com/index.php/2008/09/02/accessing-datagrid-itemrenderers/</a></p>
<p>I was thinking the line you could change to hide the itemRenderer could be:</p>
<p><code>rowRenderers[i][j].setStyle("fontWeight", "bold");</code></p>
<p>What would happen if you change this to:</p>
<p><code>rowRenderers[i][j].visible = false;</code></p>
<p>I haven&#8217;t tested this so I don&#8217;t even know if it&#8217;s possible, but worth a try <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-11</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Thu, 04 Sep 2008 13:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-11</guid>
		<description>Hi Lex,

Glad you found this useful! :)

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Lex,</p>
<p>Glad you found this useful! <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by Lex</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-10</link>
		<dc:creator>Lex</dc:creator>
		<pubDate>Thu, 04 Sep 2008 01:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-10</guid>
		<description>Nice find! I didnt even know you could use regex on selectors!

Thanks man</description>
		<content:encoded><![CDATA[<p>Nice find! I didnt even know you could use regex on selectors!</p>
<p>Thanks man</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Mary</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-25</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Wed, 03 Sep 2008 18:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-25</guid>
		<description>I had studied that example; but I think what I&#039;m trying to do is not the same.  Both columns in that example are from the data provider.  My first column, an image column, is one I populate with an inline ItemRenderer-&gt;Component-&gt;Image tag sequence.  The image is set to visible initially, and I need to set it to invisible when the user clicks on the row.  I can handle columns from the data provider; but access to this first image populated column escapes me.  Thanks for the time you have spent on this.</description>
		<content:encoded><![CDATA[<p>I had studied that example; but I think what I&#8217;m trying to do is not the same.  Both columns in that example are from the data provider.  My first column, an image column, is one I populate with an inline ItemRenderer-&gt;Component-&gt;Image tag sequence.  The image is set to visible initially, and I need to set it to invisible when the user clicks on the row.  I can handle columns from the data provider; but access to this first image populated column escapes me.  Thanks for the time you have spent on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-43</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Wed, 03 Sep 2008 08:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-43</guid>
		<description>Hi Carro,

Thanks for the comment. I was doing the same thing until I cam across this method. I hope it saves you time as it did me!

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Carro,</p>
<p>Thanks for the comment. I was doing the same thing until I cam across this method. I hope it saves you time as it did me!</p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-16</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Wed, 03 Sep 2008 08:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-16</guid>
		<description>I just spent a few hours trying to build something to do what you want because I&#039;ve not done this kind of thing before. Then I came across this, which is EXACTLY what I was trying to do :P

http://blog.classsoftware.com/index.cfm/2007/6/11/Flex-Datagrid-Edit-Cell-on-Row-Click

Not annoying at all! :P Hope it helps anyway. The interesting function is the editCell one, I&#039;ll keep this one in mind for future :)</description>
		<content:encoded><![CDATA[<p>I just spent a few hours trying to build something to do what you want because I&#8217;ve not done this kind of thing before. Then I came across this, which is EXACTLY what I was trying to do <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><a href="http://blog.classsoftware.com/index.cfm/2007/6/11/Flex-Datagrid-Edit-Cell-on-Row-Click" rel="nofollow">http://blog.classsoftware.com/index.cfm/2007/6/11/Flex-Datagrid-Edit-Cell-on-Row-Click</a></p>
<p>Not annoying at all! <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  Hope it helps anyway. The interesting function is the editCell one, I&#8217;ll keep this one in mind for future <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex getting selected RadioButton value by Carro</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comment-42</link>
		<dc:creator>Carro</dc:creator>
		<pubDate>Tue, 02 Sep 2008 23:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65#comment-42</guid>
		<description>How! Very nice tip! I&#039;m adding a id to every RadioButton on my form and try every one. Thank&#039;s.</description>
		<content:encoded><![CDATA[<p>How! Very nice tip! I&#8217;m adding a id to every RadioButton on my form and try every one. Thank&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Mary</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-18</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Tue, 02 Sep 2008 21:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-18</guid>
		<description>I gave up on swapping the image for one row and created an inline ItemRenderer with &quot;visible=true&quot;.  Now if I change the Boolean value it is bound to upon a click in the row,  the image for all rows is set to invisible which is still not what I want!</description>
		<content:encoded><![CDATA[<p>I gave up on swapping the image for one row and created an inline ItemRenderer with &#8220;visible=true&#8221;.  Now if I change the Boolean value it is bound to upon a click in the row,  the image for all rows is set to invisible which is still not what I want!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Mary</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-17</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Tue, 02 Sep 2008 21:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-17</guid>
		<description>The issue is that you don&#039;t necessarily click on the column containing the image.  If you click anywhere in the row, you make the image invisible which is simpler than swapping out images.

Editing a string representation of the source would let you swap out the image which would also be ok.

Thanks for feedback!</description>
		<content:encoded><![CDATA[<p>The issue is that you don&#8217;t necessarily click on the column containing the image.  If you click anywhere in the row, you make the image invisible which is simpler than swapping out images.</p>
<p>Editing a string representation of the source would let you swap out the image which would also be ok.</p>
<p>Thanks for feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-20</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Tue, 02 Sep 2008 19:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-20</guid>
		<description>So just to clarify:

You have a datagrid, one of the columns is an image.

You want to be able to double click the image column of a particular row, and change the image of that row.

Do you want to actually browse for a new image to upload? Or do you want to edit a string representation of the source? E.G. you double click to edit the source of the image in a text field.

The latter will be a lot simpler! :P</description>
		<content:encoded><![CDATA[<p>So just to clarify:</p>
<p>You have a datagrid, one of the columns is an image.</p>
<p>You want to be able to double click the image column of a particular row, and change the image of that row.</p>
<p>Do you want to actually browse for a new image to upload? Or do you want to edit a string representation of the source? E.G. you double click to edit the source of the image in a text field.</p>
<p>The latter will be a lot simpler! <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Mary</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-24</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Tue, 02 Sep 2008 16:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-24</guid>
		<description>Sorry, to be even more clear, I need to change the image in a particular cell of the row that was double clicked on, not the entire column.</description>
		<content:encoded><![CDATA[<p>Sorry, to be even more clear, I need to change the image in a particular cell of the row that was double clicked on, not the entire column.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Mary</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-22</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Tue, 02 Sep 2008 16:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-22</guid>
		<description>Actually to be more clear, I need to change the image in the column if the row is clicked on. I have tried an ItemRenderer both inline as a Component and external; but I am still not able to modify the image in the column.</description>
		<content:encoded><![CDATA[<p>Actually to be more clear, I need to change the image in the column if the row is clicked on. I have tried an ItemRenderer both inline as a Component and external; but I am still not able to modify the image in the column.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Mary</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-23</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Tue, 02 Sep 2008 16:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-23</guid>
		<description>I need to work with the column name rather than the field name as this is a column in the DataGrid that is modified  if the row has been clicked on.</description>
		<content:encoded><![CDATA[<p>I need to work with the column name rather than the field name as this is a column in the DataGrid that is modified  if the row has been clicked on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-19</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Sat, 30 Aug 2008 20:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-19</guid>
		<description>Hi Mary,

Apologies I should have made it clearer. Say if in your DataGrid (or AdvancedDataGrid) you have a cell called &#039;Product name&#039; and it refers to a field in the data provider called &#039;product_name&#039;, you can do this:

&lt;code&gt;protected function functionName(event:ListEvent):void
&lt;/code&gt;&lt;code&gt;{
&lt;/code&gt;&lt;code&gt;&#160;&#160;&#160;&#160;var selectedRow:Object = event.currentTarget.selectedItem;&lt;/code&gt;
&lt;code&gt;&#160;&#160;&#160;&#160;Alert.show(selectedRow.product_name);&lt;/code&gt;
&lt;code&gt;}&lt;/code&gt;

This is the function which binds to the &#039;itemDoubleClick&#039; event of the DataGrid. Because &#039;event.currentTarget.selectedItem&#039; refers to the row that was double clicked, you can access any of the cells of that row using standard dot notation.

As you can see above I have assigned &#039;event.currentTarget.selectedItem&#039; to a local variable but you don&#039;t have to, you can directly access a cell&#039;s value by doing: &#039;event.currentTarget.selectedItem.field_name&#039;.

Thanks for reading and I hope this clears it up!
Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Mary,</p>
<p>Apologies I should have made it clearer. Say if in your DataGrid (or AdvancedDataGrid) you have a cell called &#8216;Product name&#8217; and it refers to a field in the data provider called &#8216;product_name&#8217;, you can do this:</p>
<p><code>protected function functionName(event:ListEvent):void<br />
</code><code>{<br />
</code><code>&nbsp;&nbsp;&nbsp;&nbsp;var selectedRow:Object = event.currentTarget.selectedItem;</code><br />
<code>&nbsp;&nbsp;&nbsp;&nbsp;Alert.show(selectedRow.product_name);</code><br />
<code>}</code></p>
<p>This is the function which binds to the &#8216;itemDoubleClick&#8217; event of the DataGrid. Because &#8216;event.currentTarget.selectedItem&#8217; refers to the row that was double clicked, you can access any of the cells of that row using standard dot notation.</p>
<p>As you can see above I have assigned &#8216;event.currentTarget.selectedItem&#8217; to a local variable but you don&#8217;t have to, you can directly access a cell&#8217;s value by doing: &#8216;event.currentTarget.selectedItem.field_name&#8217;.</p>
<p>Thanks for reading and I hope this clears it up!<br />
Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by Nova&#8217;s Blog &#187; Blog Archiv &#187; JQuery Tutorials für Einsteiger</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-9</link>
		<dc:creator>Nova&#8217;s Blog &#187; Blog Archiv &#187; JQuery Tutorials für Einsteiger</dc:creator>
		<pubDate>Sat, 30 Aug 2008 16:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-9</guid>
		<description>[...] http://nettuts.com/html-css-techniqu&#8230;-content-area/ http://colourgray.wordpress.com/2008/08/05/jquery-wildcard-selectors/ http://youngisrael-stl.org/wordpress&#8230;aces-in-jquery [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://nettuts.com/html-css-techniqu&#8230;-content-area/" rel="nofollow">http://nettuts.com/html-css-techniqu&#8230;-content-area/</a> <a href="http://colourgray.wordpress.com/2008/08/05/jquery-wildcard-selectors/" rel="nofollow">http://colourgray.wordpress.com/2008/08/05/jquery-wildcard-selectors/</a> <a href="http://youngisrael-stl.org/wordpress&#8230;aces-in-jquery" rel="nofollow">http://youngisrael-stl.org/wordpress&#8230;aces-in-jquery</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flex 3 DataGrid double click event by Mary</title>
		<link>http://blog.s-gray.com/2008/08/06/flex-3-datagrid-double-click-event/#comment-21</link>
		<dc:creator>Mary</dc:creator>
		<pubDate>Sat, 30 Aug 2008 02:46:32 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=26#comment-21</guid>
		<description>After accessing the row, how does one actually access a particular cell?</description>
		<content:encoded><![CDATA[<p>After accessing the row, how does one actually access a particular cell?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by Stephen Gray</title>
		<link>http://blog.s-gray.com/about_me/#comment-4</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Fri, 29 Aug 2008 08:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.s-gray.com/?page_id=177#comment-4</guid>
		<description>Stupid me!

I&#039;m still new to Wordpress :P

Anyway, email sent. Looking forward to hearing from you.</description>
		<content:encoded><![CDATA[<p>Stupid me!</p>
<p>I&#8217;m still new to Wordpress <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Anyway, email sent. Looking forward to hearing from you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by Stephen Gray</title>
		<link>http://blog.s-gray.com/about_me/#comment-3</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Thu, 28 Aug 2008 15:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.s-gray.com/?page_id=177#comment-3</guid>
		<description>Hey James :)

Yeah it has been a while. Hope you&#039;re doing well!

Yeah we dropped by a few weeks ago as we&#039;re now living nearby. We want to come to the evening service but we&#039;ve been caught up with decoration and I&#039;ve been busy doing some freelance projects.

We&#039;ll hopefully come down pretty soon, it was pretty good to hear about the number of people that go there that went to St Andrews ;P

I don&#039;t have any way of getting your email address! Do you have somewhere I can grab it without submitting you to mass spammage? :P

Cheers,
Stephen.</description>
		<content:encoded><![CDATA[<p>Hey James <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Yeah it has been a while. Hope you&#8217;re doing well!</p>
<p>Yeah we dropped by a few weeks ago as we&#8217;re now living nearby. We want to come to the evening service but we&#8217;ve been caught up with decoration and I&#8217;ve been busy doing some freelance projects.</p>
<p>We&#8217;ll hopefully come down pretty soon, it was pretty good to hear about the number of people that go there that went to St Andrews ;P</p>
<p>I don&#8217;t have any way of getting your email address! Do you have somewhere I can grab it without submitting you to mass spammage? <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Cheers,<br />
Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by James Brooks</title>
		<link>http://blog.s-gray.com/about_me/#comment-2</link>
		<dc:creator>James Brooks</dc:creator>
		<pubDate>Thu, 28 Aug 2008 14:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.s-gray.com/?page_id=177#comment-2</guid>
		<description>Stephen!

Flipping heck its been a while!

I heard that you came by Purley Baptist the other day? - I&#039;d love to have a chat with you about the work you are doing etc....please do drop me an email dude...

James Brooks</description>
		<content:encoded><![CDATA[<p>Stephen!</p>
<p>Flipping heck its been a while!</p>
<p>I heard that you came by Purley Baptist the other day? &#8211; I&#8217;d love to have a chat with you about the work you are doing etc&#8230;.please do drop me an email dude&#8230;</p>
<p>James Brooks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL basic reference by AlexM</title>
		<link>http://blog.s-gray.com/2008/08/06/mysql-basic-reference/#comment-38</link>
		<dc:creator>AlexM</dc:creator>
		<pubDate>Tue, 12 Aug 2008 06:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=33#comment-38</guid>
		<description>:))</description>
		<content:encoded><![CDATA[<p> <img src='http://blog.s-gray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by Stephen Gray</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-8</link>
		<dc:creator>Stephen Gray</dc:creator>
		<pubDate>Fri, 08 Aug 2008 08:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-8</guid>
		<description>Hi Rob,

Thanks for the comment and I&#039;m glad you found this useful.

Myself and a number of my colleagues have run into this same situation and found this to be a perfect solution.

Stephen.</description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>
<p>Thanks for the comment and I&#8217;m glad you found this useful.</p>
<p>Myself and a number of my colleagues have run into this same situation and found this to be a perfect solution.</p>
<p>Stephen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery wildcard selectors by Rob</title>
		<link>http://blog.s-gray.com/2008/08/05/jquery-wildcard-selectors/#comment-7</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 08 Aug 2008 08:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=13#comment-7</guid>
		<description>Thanks for this post, just what I&#039;ve been looking for. Many of my pages had validation errors because of duplicate IDs (for example the user image layer on comment pages).

Knowing this is possible allows me to simply attach a random token to the IDs so make them unique, but still be able to select the boxes without tracing the token.</description>
		<content:encoded><![CDATA[<p>Thanks for this post, just what I&#8217;ve been looking for. Many of my pages had validation errors because of duplicate IDs (for example the user image layer on comment pages).</p>
<p>Knowing this is possible allows me to simply attach a random token to the IDs so make them unique, but still be able to select the boxes without tracing the token.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

