 let displayInput = " display: " + (maxSpan ? "none" : "block");
        
      let maxSpanSwitch = row.insertCell(1);
      maxSpanSwitch.style.width = "80px";
      maxSpanSwitch.style.textAlign = "right";
      maxSpanSwitch.innerHTML = 
        "<span id=\"spanSelect" + index + "All\" class=\"label\" style=\"width: 30; font-size: 13; font-weight: bold; height: 15;" + displayAll + "\">All</span>" +
        "<input id=\"spanSelect" + index + "Input\" type=\"input\" style=\"width: 30; font-size: 13; font-w