JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Data Grid-Get Pasted value › Reply To: Data Grid-Get Pasted value
October 25, 2023 at 8:48 pm
#109071
ivanpeevski
Participant
Hi khaqan asif,
When the values are pasted, the “onCellUpdate” callback function will be called. You can use it to get the cells, which will be updated. The function also contains a “confirm” callback, which you can use to confirm the changes if the database save was successful or otherwise cancel them.
You can have a look at the code here – stackblitz, for Google Chrome you may need to run the demo locally, since the Clipboard API is not available for security reasons.
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/