title: vue-tables-2 color cell background
body: <p>I am trying to work out how to render a cell  with a specific background color based in text in the cell (eg ' green'). </p>
  
  <p>It seems that this may be possible using templates (<a href="https://github.com/matfish2/vue-tables-2#templates" rel="nofollow noreferrer">https://github.com/matfish2/vue-tables-2#templates</a>), but I don't follow how to use props.index within a single page vue app to render a specific cell a specific color.</p>
  
  <pre><code>&lt;v-client-table :data="entries" :columns="['id', 'name' ,'age', 'edit']"&gt;
        &lt;a slot="edit" slot-scope="props" class="fa fa-edit" :href="edit(props.row.id)"&gt;&lt;/a&gt;
  &lt;/v-client-table&gt;
  #Note: You can get the index of the current row relative to the entire data set using props.index
  </code></pre>
  
  <p>Any ideas?</p>