allowPaste Boolean
(default: false)
If set to true
and the selection functionality of the Grid is enabled, the user can paste the current textual content of the clipboard into the Grid.
Example - enable allowPaste
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
toolbar: ["paste"], // Creates a dropdownlist that enables you to switch between replace and insert modes.
selectable: "multiple cell",
allowPaste: true,
columns: [
{ field: "productName" },
{ field: "category" }
],
dataSource: [
{ productName: "Tea", category: "Beverages" },
{ productName: "Coffee", category: "Beverages" },
{ productName: "Ham", category: "Food" },
{ productName: "Bread", category: "Food" }
]
});
</script>