Old method: compared row.length to previous largest row size, and replace if larger.
New method: accounts for non-string rows by calling row.toString() for non-null rows. Now, if a cell has non-string contents, it won't compare undefined, but the actual length.
Other fixes:
bumps the extra padding from 10 -> 12. Even with the new calculations, "North Highlands" rows were still getting weirdly displayed (probably a variable-width font issue).
Old method: compared
row.length
to previous largest row size, and replace if larger.New method: accounts for non-string rows by calling
row.toString()
for non-null rows. Now, if a cell has non-string contents, it won't compareundefined
, but the actual length.Other fixes:
TableCreator
node into theio
category.