Can't get toCSV columns option to work

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?

Hello,
By your implementation, we create a similar snippet. Please, check it to solve the problem: https://webix.com/snippet/419679e9

The big difference I see between your snippet and mine is you are using a list and I am using a datatable. Do you have a snippet with datatable?

Example: https://webix.com/snippet/b73209b5

Thanks. Beats me why mine doesn’t work. Seems to be just like yours. But it turns out I need to do something else anyway, so doesn’t matter.