SMART datagrid v.1 > Classes > GridBase
It will be fired just before the user types Ctrl+V or *Cmd+V" to paste clipboard text to the location of focused cell.
If explicitly return Boolean false within event handler, it will cancel pasting. And, onPasted event will be fired after committing pasting.
grid.onPaste = function (grid, index, data) {
return !$('#readOnly')[0].checked;
};