Posted 6 February 2020, 5:39 pm EST
Hi Kishore,
The data is not being pasted because of how Wijmo pastes the data. When we press the paste shortcut keys, Wijmo creates an element, moves the focus to it and paste the data. When Wijmo moves the focus to textarea, the lostFocus event of the FlexGrid is fired thereby calling the select method.
Therefore, in the pasting event, the row and columns indexes come to be -1 and -1. To resolve this issue, simply call the select method in a setTimeout callback:
onLostFocus(s) {
setTimeout(() => s.select(-1, -1), 100);
}
https://stackblitz.com/edit/angular-ea8svy
~regards