1👍
✅
instead of using setCell
, try the addRow
method…
data.addRow(company);
setCell
requires three arguments –> row index, column index, and value.
you cannot pass all in one variable.
Source:stackexchange.com