csv.preventFormulaInjectionBoolean(default: true)
If set to true, cell values starting with =, +, -, @, \t, or \r will be prefixed with a single quote (') to prevent formula injection.
Example - enable formula injection prevention
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
toolbar: ["csv"],
csv: {
preventFormulaInjection: true
},
dataSource: {
transport: {
read: {
url: "https://demos.telerik.com/service/v2/core/products"
}
},
pageSize: 10
},
pageable: true
});
</script>