assets/js/main.js
/**
 * Returns HTML element of column of specified index.
 *
 * @param {number} col The column index.
 * @return {Object} column of specified index.
 */
Returns HTML element of column of specified index.
@param {number} col The column index.
@return {Object} column of specified index.
Returns HTML element of column of specified index . @param { number } col The column index . @return { Object } column of specified index .
function createColCell(col) {
  const cell = document.createElement("div");
  setAttributes(cell, { class: "col-header", "data-col-parent": col });
  cell.textContent = indexToAlpha(col);
  return cell;
}
function createColCell ( col ) { const cell = document . createElement ( "div" ) ; setAttributes ( cell , { class : "col-header" , "data-col-parent" : col } ) ; cell . textContent = indexToAlpha ( col ) ; return cell ; }
Returns HTML element of column of specified index.
Returns HTML element of column of specified index .
//   console.log("create column at index ", col);