Skip to content

onPaste

fires when the clipboard is enabled and the user presses CTRL+V keys combination

function onPaste(
// the text to paste
text: string
): void
grid.attachEvent("onPaste", function(text) {
console.log("Custom paste behavior: " + text);
});

also check the next samples:

Articles