title: Flex 3: How do I get the DataGridColumn's dataField in its ItemRenderer?
body: <p>I'm trying to reach the dataField of a DataGridColumn in the itemRenderer. Below is the dataGrid:</p>
  
  <pre><code>&lt;mx:Script&gt;
      &lt;![CDATA[
          [Bindable] public var weeksOfMoth:ArrayCollection = new ArrayCollection([
                  {monday:30, tuesday:31, wednesday:1, thursday:2, friday:3, saturday:4, sunday:5},
                  {monday:6, tuesday:7, wednesday:8, thursday:9, friday:10, saturday:11, sunday:12},
                  {monday:13, tuesday:14, wednesday:15, thursday:16, friday:17, saturday:18, sunday:19}, 
                  {monday:20, tuesday:21, wednesday:22, thursday:23, friday:24, saturday:25, sunday:26}, 
                  {monday:27, tuesday:28, wednesday:29, thursday:30, friday:1, saturday:2, sunday:3}
              ]);
      ]]&gt;
  &lt;/mx:Script&gt;
  &lt;mx:DataGrid dataProvider="{weeksOfMoth}" &gt;
      &lt;mx:columns&gt;
          &lt;mx:DataGridColumn itemRenderer="view.DateRenderer" dataField="monday" /&gt;
          &lt;mx:DataGridColumn itemRenderer="view.DateRenderer" dataField="tuesday" /&gt;
          &lt;mx:DataGridColumn itemRenderer="view.DateRenderer" dataField="wednesday" /&gt;
          &lt;mx:DataGridColumn itemRenderer="view.DateRenderer" dataField="thursday" /&gt;
          &lt;mx:DataGridColumn itemRenderer="view.DateRenderer" dataField="friday" /&gt;
          &lt;mx:DataGridColumn itemRenderer="view.DateRenderer" dataField="saturday" /&gt;
          &lt;mx:DataGridColumn itemRenderer="view.DateRenderer" dataField="sunday" /&gt;
      &lt;/mx:columns&gt;
  &lt;/mx:DataGrid&gt;
  </code></pre>
  
  <p>And this is my ItemRenderer:</p>
  
  <pre><code>&lt;mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" &gt;
      &lt;mx:Box &gt;
  
                      &lt;!-- How do I get the dataField here?? --&gt;
          &lt;mx:Label text="{data[dataField]}" /&gt; 
      &lt;/mx:Box&gt;
  &lt;/mx:Canvas&gt;
  </code></pre>
  
  <p>In the set data function of the itemRenderer, I receive an entire week (which is ok), but the itemRenderer doesn't know which day to use because the dataField is unknown. Does anyone know how to reach this dataField in the itemRenderer?</p>