Siena
06/17/2019, 4:08 PMresultSet.columns
but how do I iterate through the results themselves and access each column's data? I have tried the following:
rows = [];
resultSet.each(function (result) {
row = [];
result.columns.forEach(function (col) {
row.push(result.getValue({name: col.label}));
});
rows.push(row);
});
But I only get null. So I can't access the columns by their labels? But I have some formulas so it's not like I can access the columns using names either because the names are just "formulatext"... so what am I doing wrong?