title: Flex DatagridColumn LabelFunction Additonal Parameters
body: <p>I have a datagridcolumn where a labelFunction is defined:</p>
  
  <pre><code>private function myLabelFunction(item:Object, column:DataGridColumn):String 
  {
    var returnVal:String;
    var nm:NumericFormatter;
    nm.decimalSeparatorTo = ".";
    nm.precision = additionalParameter;
  
    returnVal = nmTwoDecimals.format(item[column.dataField]);
  
    if (returnVal == '0.00') 
    {
      returnVal = '';
    }
  
    return returnVal;
  }
  </code></pre>
  
  <p>Would it be possible to add an additional parameter so that I could pass the property values for the formatter which I intend to use?</p>
  
  <p>Like for example:</p>
  
  <pre><code>private function myLabelFunction(item:Object, column:DataGridColumn, precisionParam:int):String 
      {
        var returnVal:String;
        var nm:NumericFormatter;
        nm.decimalSeparatorTo = ".";
        nm.precision = precisionParam;
  
        returnVal = nmTwoDecimals.format(item[column.dataField]);
  
        if (returnVal == '0.00') 
        {
          returnVal = '';
        }
  
        return returnVal;
      }
  </code></pre>
  
  <p>Thanks.</p>