Snippet:
webix.csv.delimiter.rows = "\
";
webix.csv.delimiter.cols = ",";
webix.toCSV(this.tbl, {
columns: [
{id: 'name', header: 'Name'},
{id: 'address', header: 'Address'}
],
filename: filename
});
Take away the columns option and this works perfectly. With the columns option I get a file that has the correct headers but no data, just the comma delimiters. I imagine I’m missing something obvious?