function _updateRowMergeWith(targetRows, startColIndex, endColIndex, rowMergeWith) {
  const limitColIndex = endColIndex + 1;

  targetRows.forEach(rowData => {
    rowData.slice(startColIndex, limitColIndex).forEach(cellData => {
      cellData.rowMergeWith = rowMergeWith;
    });
  });
}
function _updateRowMergeWith(targetRows, startColIndex, endColIndex, rowMergeWith) {
  const limitColIndex = endColIndex + 1;

  targetRows.forEach(rowData => {
    rowData.slice(startColIndex, limitColIndex).forEach(cellData => {
      cellData.rowMergeWith = rowMergeWith;
    });
  });
}
function _updateRowMergeWith ( targetRows , startColIndex , endColIndex , rowMergeWith ) { const limitColIndex = endColIndex + 1 ; targetRows . forEach ( rowData => { rowData . slice ( startColIndex , limitColIndex ) . forEach ( cellData => { cellData . rowMergeWith = rowMergeWith ; } ) ; } ) ; }
Update rowMergeWith property of target rows for row merge.
@param {Array.<Array.<object>>} targetRows - target rows
@param {number} startColIndex - start column index
@param {number} endColIndex - end column index
@param {number} rowMergeWith - index of row merger
@private
Update rowMergeWith property of target rows for row merge .