The automatically calculated maximum width for a column skips looks like it skips spanning cells altogether. But it seems handy to use 1 wide spanning cells to adjust alignment. I'm using 1 wide spanning cells to center some column headings.
What do you think about including 1 wide spanning cells in the width calculation?
if (isSpanningCell(rowIndex, cellIndex)) {
return;
}
columnWidths[cellIndex] = Math.max(columnWidths[cellIndex], calculateMaximumCellWidth(cell));
(src line)