src/js/extensions/table/tableDataHandler.js
function createRenderData(tableData, cellIndexData) {
  const headerAligns = _getHeaderAligns(tableData);
  const renderData = cellIndexData.map(row => row.map(({rowIndex, colIndex}) => (util.extend({
    align: headerAligns[colIndex]
  }, tableData[rowIndex][colIndex]))));

  if (tableData.className) {
    renderData.className = tableData.className;
  }

  return renderData;
}
function createRenderData(tableData, cellIndexData) {
  const headerAligns = _getHeaderAligns(tableData);
  const renderData = cellIndexData.map(row => row.map(({rowIndex, colIndex}) => (util.extend({
    align: headerAligns[colIndex]
  }, tableData[rowIndex][colIndex]))));

  if (tableData.className) {
    renderData.className = tableData.className;
  }

  return renderData;
}
function createRenderData ( tableData , cellIndexData ) { const headerAligns = _getHeaderAligns ( tableData ) ; const renderData = cellIndexData . map ( row => row . map ( ( { rowIndex , colIndex } ) => ( util . extend ( { align : headerAligns [ colIndex ] } , tableData [ rowIndex ] [ colIndex ] ) ) ) ) ; if ( tableData . className ) { renderData . className = tableData . className ; } return renderData ; }
Create render data.
@param {Array.<object>} tableData - table data
@param {Array.<object>} cellIndexData - cell index data
@returns {Array.<Array.<object>>}
@ignore
Create render data .