columns.exportableBoolean|Object
(default: true)
If the column isn't visible, the
exportable
property must be set totrue
explicitly.
If set to false
the column will be excluded from the exported Excel/PDF files.
Can be set to a JavaScript object which specifies whether the column should be exported per format.
Example
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
toolbar: ["excel", "pdf"],
columns: [
{ field: "productName", title: "Product" },
{ field: "unitPrice", title: "Price" },
{ field: "internalCode", title: "Code", exportable: false }
],
dataSource: [
{ productName: "Tea", unitPrice: 2.5, internalCode: "TEA001" },
{ productName: "Coffee", unitPrice: 3.0, internalCode: "COF001" }
]
});
</script>
In this article