title: DataGrid - Edit the selected row when a button is clicked
body: <p>I have a very simple DataGrid with 2 columns, some thing like this:</p>
  
  <pre><code>&lt;mx:DataGrid id="grid" &gt;
      &lt;mx:columns&gt;
          &lt;mx:DataGridColumn dataField="name" headerText="Name"/&gt;
          &lt;mx:DataGridColumn dataField="date" headerText="Date"/&gt;
      &lt;/mx:columns&gt;
  &lt;/mx:DataGrid&gt;
  </code></pre>
  
  <p>What Im trying to do is to activate the edition of the selected row when the user clicks a button. So far I've been unable to find any example of how to do this. I already tried 6 or 7 different approaches but non works. Does any one has a clue how to do this?</p>
  
  <p>How do you get the selected row (NOT selectedItem) of a DataGrid and how can you:</p>
  
  <ul>
  <li>Change the ItemRenderEditor or ItemRenderer on the fly of just that row.</li>
  <li>Or enable the edition of that specific row without clicking it.</li>
  </ul>
  
  <p>This are the questions that I've been unable to answer</p>
  
  <p>Help will be greatly appreciated.</p>