JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Blazor OnRowUpdate › Reply To: Blazor OnRowUpdate
July 12, 2023 at 7:34 pm
#107461
ivanpeevski
Participant
Hi Brian,
confirm is a JavaScript function, so it is not possible to invoke it directly from Blazor.
If you want to validate the changes, you can use ValidationRules as in the guide here – Grid Editing
If you need to keep track of the changes and update a remote database, you can have a look at the Grid Server Side CRUD guide
If you need to use onRowUpdate for other purposes, you should implement the function through JSInterop. The Dynamic Template guide covers the basics of how to achieve this.
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/