lib/TdClassNames.js
function maxClassName(cellData, _ref3) {
  var columnSummary = _ref3.columnSummary;
  var column = _ref3.column;
  var rowData = _ref3.rowData;

  var sortValue = Utils.getSortValueFromCellData(cellData, column, rowData);
  if (sortValue === columnSummary.max) {
    return 'highlight-max';
  }

  return undefined;
}
function maxClassName(cellData, _ref3) {
  var columnSummary = _ref3.columnSummary;
  var column = _ref3.column;
  var rowData = _ref3.rowData;

  var sortValue = Utils.getSortValueFromCellData(cellData, column, rowData);
  if (sortValue === columnSummary.max) {
    return 'highlight-max';
  }

  return undefined;
}
function maxClassName ( cellData , _ref3 ) { var columnSummary = _ref3 . columnSummary ; var column = _ref3 . column ; var rowData = _ref3 . rowData ; var sortValue = Utils . getSortValueFromCellData ( cellData , column , rowData ) ; if ( sortValue === columnSummary . max ) { return 'highlight-max' ; } return undefined ; }
Adds `highlight-max` to the cells that match max in the summary.

@param {Any} cellData the data for the cell
@param {Object} props Additional props for the cell
@param {Object} props.columnSummary The column summary
@param {Object} props.column The column definition
@param {Array} props.rowData the data for the row

@return {String} classnames
Adds highlight - max to the cells that match max in the summary .