title: Click Event in a cell of a Flex Spark Datagrid
body: <p>I have the following code:</p>
  
  <pre><code>&lt;s:DataGrid id="preciosGrid" top="65" width="935" height="379" horizontalCenter="0" requestedRowCount="4"
              dataProvider="{clientModel.model.arrayColumnProducts}"&gt;
      &lt;s:columns&gt;
          &lt;s:ArrayList&gt;
              &lt;s:GridColumn                           headerText="edit" width="30" itemRenderer="renderers.EditGridRender"&gt;&lt;/s:GridColumn&gt;
              &lt;s:GridColumn dataField="product"       headerText="Product" width="200" editable="false"&gt;&lt;/s:GridColumn&gt;
              &lt;s:GridColumn dataField="provider"  headerText="" width="52" editable="true" itemRenderer="renderers.PriceCellItemRenderer"&gt;&lt;/s:GridColumn&gt;
          &lt;/s:ArrayList&gt;
      &lt;/s:columns&gt;
  &lt;/s:DataGrid&gt;
  </code></pre>
  
  <p>and need to be able to catch only the double-click event from the Edit cell (First column). </p>
  
  <p>My itemRenderer is:</p>
  
  <pre><code>&lt;s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" 
                  xmlns:s="library://ns.adobe.com/flex/spark" 
                  xmlns:mx="library://ns.adobe.com/flex/mx" clipAndEnableScrolling="true"
                  width="50" height="30"&gt;
  
  &lt;fx:Script&gt;
      &lt;![CDATA[
          import events.EditItemEvent;
  
          import mx.controls.Alert;
          override public function prepare(hasBeenRecycled:Boolean):void {}
      ]]&gt;
  &lt;/fx:Script&gt;
  &lt;s:Image id="btn_edit" horizontalCenter="0" source="@Embed('assets/images/edit_icon.png')"
           verticalCenter="0"
           doubleClickEnabled="true"
           doubleClick="Alert.show('clicked')"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>How can I pass the click event to the main App from the ItemRenderer?</p>
  
  <p>Thanks.</p>