csvObject

Configures the CSV export settings of the grid.

Example

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" },
    { field: "unitPrice" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages", unitPrice: 2.5 },
    { productName: "Coffee", category: "Beverages", unitPrice: 3.0 }
  ],
  toolbar: ["csv"],
  csv: {
    fileName: "ProductData.csv",
    allPages: true
  }
});
</script>
In this article
csvRelated Properties
Not finding the help you need?
Contact Support