assets/js/main.js
/**
 * Returns HTML element of row header of specified index.
 *
 * @param {number} row The row index.
 * @return {Object} row header of specified index.
 */
Returns HTML element of row header of specified index.
@param {number} row The row index.
@return {Object} row header of specified index.
Returns HTML element of row header of specified index . @param { number } row The row index . @return { Object } row header of specified index .
function createRowHeader(row) {
  const cell = document.createElement("div");
  setAttributes(cell, { class: "row-header", "data-row-parent": row });
  if (row >= 0) cell.textContent = Number(row) + 1;
  return cell;
}
function createRowHeader ( row ) { const cell = document . createElement ( "div" ) ; setAttributes ( cell , { class : "row-header" , "data-row-parent" : row } ) ; if ( row >= 0 ) cell . textContent = Number ( row ) + 1 ; return cell ; }
Returns HTML element of row header of specified index.
Returns HTML element of row header of specified index .
//   console.log("Start row header at index ", row);