function findColMergedLastIndex(tableData, rowIndex, colIndex) {
  const cellData = tableData[rowIndex][colIndex];
  let foundColIndex = colIndex;

  if (cellData.colspan > 1) {
    foundColIndex += cellData.colspan - 1;
  }

  return foundColIndex;
}
function findColMergedLastIndex(tableData, rowIndex, colIndex) {
  const cellData = tableData[rowIndex][colIndex];
  let foundColIndex = colIndex;

  if (cellData.colspan > 1) {
    foundColIndex += cellData.colspan - 1;
  }

  return foundColIndex;
}
function findColMergedLastIndex ( tableData , rowIndex , colIndex ) { const cellData = tableData [ rowIndex ] [ colIndex ] ; let foundColIndex = colIndex ; if ( cellData . colspan > 1 ) { foundColIndex += cellData . colspan - 1 ; } return foundColIndex ; }
Find last index of col merged cells.
@param {Array.<Array.<object>>} tableData - tableData data
@param {number} rowIndex - row index of base data
@param {number} colIndex - column index of tabld data
@returns {number}
@ignore
Find last index of col merged cells .
Find the last index of a cell in a table