calculateLineHeight = function calculateLineHeight(model, columnWidths) {
    var padding = this.internal.__cell__.padding;
    var fontSize = this.internal.__cell__.table_font_size;
    var scaleFactor = this.internal.scaleFactor;
    return Object.keys(model).map(function (key) {
      var value = model[key];
      return this.splitTextToSize(value.hasOwnProperty("text") ? value.text : value, columnWidths[key] - padding - padding);
    }, this).map(function (value) {
      return this.getLineHeightFactor() * value.length * fontSize / scaleFactor + padding + padding;
    }, this).reduce(function (pv, cv) {
      return Math.max(pv, cv);
    }, 0);
  }
Calculate the height for containing the highest column

@name calculateLineHeight
@function
@param {Object[]} model is the line of data we want to calculate the height of
@param {Integer[]} columnWidths is size of each column
@returns {number} lineHeight
@private