src/js/extensions/table/mergedTableAddRow.js
function _findFocusTd($newTable, rowIndex, colIndex) {
  const tableData = dataHandler.createTableData($newTable);
  const newRowIndex = dataHandler.findRowMergedLastIndex(tableData, rowIndex, colIndex) + 1;
  const cellElementIndex = dataHandler.findElementIndex(tableData, newRowIndex, colIndex);

  return $newTable.find('tr').eq(cellElementIndex.rowIndex).find('td')[cellElementIndex.colIndex];
}
function _findFocusTd($newTable, rowIndex, colIndex) {
  const tableData = dataHandler.createTableData($newTable);
  const newRowIndex = dataHandler.findRowMergedLastIndex(tableData, rowIndex, colIndex) + 1;
  const cellElementIndex = dataHandler.findElementIndex(tableData, newRowIndex, colIndex);

  return $newTable.find('tr').eq(cellElementIndex.rowIndex).find('td')[cellElementIndex.colIndex];
}
function _findFocusTd ( $newTable , rowIndex , colIndex ) { const tableData = dataHandler . createTableData ( $newTable ) ; const newRowIndex = dataHandler . findRowMergedLastIndex ( tableData , rowIndex , colIndex ) + 1 ; const cellElementIndex = dataHandler . findElementIndex ( tableData , newRowIndex , colIndex ) ; return $newTable . find ( 'tr' ) . eq ( cellElementIndex . rowIndex ) . find ( 'td' ) [ cellElementIndex . colIndex ] ; }
Find focus td element.
@param {jQuery} $newTable - changed table jQuery element
@param {number} rowIndex - row index of table data
@param {number} colIndex - column index of tabld data
@returns {HTMLElement}
@private
Find focus td element .