onPaste

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

void onPaste(string text){ ... };

Parameters

textstringthe text to paste

Example

grid.attachEvent("onPaste", function(text) {
    webix.message("Custom paste behavior: " + text);
});

Related samples

See also
Back to top