csv.lineSeparatorString(default: "\r\n")
The line separator used between rows in the CSV output.
Example - set a custom line separator
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
toolbar: ["csv"],
csv: {
lineSeparator: "\n"
},
dataSource: {
transport: {
read: {
url: "https://demos.telerik.com/service/v2/core/products"
}
},
pageSize: 10
},
pageable: true
});
</script>