It seems that whenever I have 0 as a Number in my data, it's added as an empty string in the sheet. By converting the Number to String, I'm able to work around the issue, but it would be nice to be able to use the correct data type.
I guess the problem is in addRow(): Since the number 0 evaluates to false (while the string "0" doesn't), the value is lost in the addCell call: @_addCell(row[key] || "", col + 1).
It seems that whenever I have 0 as a Number in my data, it's added as an empty string in the sheet. By converting the Number to String, I'm able to work around the issue, but it would be nice to be able to use the correct data type.
I guess the problem is in
addRow(): Since the number 0 evaluates tofalse(while the string"0"doesn't), the value is lost in theaddCellcall:@_addCell(row[key] || "", col + 1).