stringify of csv, Methods Webix Docs
converts a Javascript data array to a CSV string
string stringify(array data, [object delimiter] );
Example
var text = webix.csv.stringify([[a,b],[c,d]]); //"a,b\n,c,d"
Details
The delimiter is an object with the following properties:
var delimiter = {
rows: "\n", // the rows delimiter
cols: "\t" // the columns delimiter
}
- The default rows delimiter - '\n' (new-line character)
- The default columns delimiter - '\t' (horizontal tab )
You can change delimiters globally by setting the webix.csv.delimiter.rows and webix.csv.delimiter.cols properties.
webix.csv.delimiter.rows = "\b";
webix.csv.delimiter.cols = "\v";