FancyGrid Rows' Auto Height with image

by FancyGrid Inc.

HTML

<script src="https://cdn.jsdelivr.net/npm/fancygrid/client/fancy.min.js"></script>

<div id="container"></div>

CSS

img {
    margin-top: -9px;
    border-radius: 2px;
    height: 70px;
}

JavaScript

document.addEventListener("DOMContentLoaded", function() {

  new FancyGrid({
    title: 'Rows\' Auto Height',
    renderTo: 'container',
    width: 700,
    height: 400,
    data: data,
    theme: 'gray',
    selModel: 'rows',
    trackOver: true,
    columns: [{
      index: 'car',
      title: 'Car',
      sortable: true
    }, {
      index: 'info',
      type: 'text',
      width: 350,
      resizable: true,
      autoHeight: true,
      title: 'Info'
    }, {
      index: 'img',
      type: 'text',
      width: 150,
      autoHeight: true,
      title: 'Img',
      render: function(o) {
        o.value = [
          '<img src="' + o.value + '">'
        ].join('');

        return o;
      }
    }]
  });

});

var data = [{
  car: 'Kia Sportage',
  info: 'The Kia Sportage is a compact crossover SUV (compact SUV until 2005) built by the South Korean manufacturer Kia since 1993.',
  img: 'https://fancygrid.com/dashboards/tabs/images/kia-sportage.png'
}, {
  car: 'Kia Sorento',
  info: 'The Kia Sorento is a mid-size crossover SUV (compact SUV until 2009) produced since 2002 by South Korean manufacturer Kia Motors.',
  img: 'https://fancygrid.com/dashboards/tabs/images/kia-sorento.png'
}, {
  car: 'Kia Rio',
  info: 'The Kia Rio is a subcompact car produced by the South Korean manufacturer Kia since August 2000 and now in its fourth generation.<br> Body styles have included a three and five-door hatchback and four-door sedan, equipped with inline-four gasoline and diesel engines, and front-wheel drive.<br>The Rio replaced the first-generation Pride—a rebadged version of the Ford Festiva—and the Avella, a subcompact sold as a Ford in some markets.<br> A second generation was introduced in 2005 in Europe and 2006 in North America, sharing its platform with the Hyundai Accent, a subcompact manufactured by its sister Hyundai Motor Company in South Korea.',
  img: 'https://fancygrid.com/dashboards/tabs/images/kia-rio.png'
}, {
  car: 'Kia Soul',
  info: 'The Kia...