title: Dynamic cell color in jspdf autoTable?
body: <p>Is it possible to define the cell color with a nested property of the object mapped to the table ?</p>
  
  <p>The JSON structure of the objects is :</p>
  
  <pre><code>objects: [
  {
    "agent": "agent_1",
    "days": {
       day_0: {
         "code": "ABC",
         "color": "#0062cc"
       },
       day_1: {
         "code": "DEF",
         "color": "#a09494b2"
       }
    },
    {
    [...]
    }
  ]
  </code></pre>
  
  <p>I have a table defined like this : </p>
  
  <pre><code>let columns = [
    {title: "Agent", dataKey: "agent"},
    {title: "january 1st", dataKey: "day_0"},
    {title: "january 2nd", dataKey: "day_1"}]
  
  let rows = [
    {agent: "agent_1", day_0: "ABC", day_1: "DEF"},
    [...]
  ]
  </code></pre>
  
  <p>All that works fine. But I'd like to set the color of each day cell dynamically, set with the color code of the corresponding object. Something like :</p>
  
  <pre><code>createdCell: function(cell, data) {
    {
       cell.styles.fillColor = "day_0.color";
    }
  }
  </code></pre>
  
  <p>But I can't figure how to pass the data to the table. Is it possible ? Can <code>displayProperty</code> help in any way ?</p>