... così ?

codice:
myCell.setAttribute("colspan","5px");