When specifying data with loadData, if the worksheet cols object does not have a len property, x-spreadsheet assumes 26 columns (A:Z).
If len is not specified or if cols is not specified, loadData should look at the longest cells array and expand the range if needed. Ideally it would also expand if len is smaller than the longest cells array (but there are also good reasons not to override the cols property)
When specifying data with
loadData
, if the worksheetcols
object does not have alen
property, x-spreadsheet assumes 26 columns (A:Z
).If
len
is not specified or ifcols
is not specified,loadData
should look at the longestcells
array and expand the range if needed. Ideally it would also expand iflen
is smaller than the longestcells
array (but there are also good reasons not to override thecols
property)