title: Export data in ag-grid for cell renderer
body: <p>I'm using ag-grid and I have a column definition as following :</p>
  
  <pre><code>{
      headerName: "Color",
      valueGetter: function (params) {
          return JSON.parse(params.data.color).name;
      },
      field: 'color',
      cellRenderer: function (params) {
          if (angular.isDefined(params.data) &amp;&amp; angular.isDefined(params.data.color)) {
              var color = JSON.parse(params.data.color);
              return '&lt;div style="width: 50px; height: 18px; background-color:' + color.htmlValue + ';"&gt;&lt;/div&gt;';
          }
      },
      suppressMenu: true,
      suppressSorting: true
  }
  </code></pre>
  
  <p>When I export the grid in CSV format, I get undefined for the color column, which is a cell renderer, I searched for a solution for this and I found this in the official documentation :</p>
  
  <blockquote>
    <p>The raw values, and not the result of cell renderer, will get used,
    meaning:</p>
    
    <ul>
    <li>Cell Renderers will NOT be used.</li>
    <li>Value Getters will be used.</li>
    <li>Cell Formatters will NOT be used (use processCellCallback instead).</li>
    </ul>
  </blockquote>
  
  <p>As you can see I'm already using a valueGetter but I always get undefined in the exported data for the color column.</p>
  
  <p>How can I solve this ?</p>