title: Get data from datagrid in a view to a label
body: <pre><code>&lt;mx:DataGrid id="dgAutoFill" x="11" y="234" width="934" dataProvider="{rssHln.lastResult.rss.channel.item}"&gt;
          &lt;mx:columns&gt;
              &lt;mx:DataGridColumn dataField="title" headerText="Titel"/&gt;
              &lt;mx:DataGridColumn dataField="description" headerText="Omschrijving"/&gt;
              &lt;mx:DataGridColumn dataField="pubDate" headerText="Publicatiedatum"/&gt;
              &lt;mx:DataGridColumn dataField="link" headerText="Link"/&gt;
          &lt;/mx:columns&gt;
      &lt;/mx:DataGrid&gt;
  </code></pre>
  
  <p>I'm trying to get the title from the selecteditem from this datagrid (which is filled by a rss-feed) in a label. I've searched for ways, but I can't find how I should get this done.</p>
  
  <p>This is the eventhandler I've added to the datagrid, and the function:</p>
  
  <pre><code>dgAutoFill.addEventListener(ListEvent.ITEM_CLICK, showDetails);
  
  public function showDetails(event:ListEvent):void {
              lblTitle.text = ?;
          }
  </code></pre>