Posted 9 May 2019, 10:29 am EST
After a user had select a record in Flexgrid, and press the Delete operation. I want to prompt user to confirm the delete operation. Can that be done?
The Flexgrid binds to CollectionView.
Thanks,
John
Forums Home / Wijmo / General Discussion
Posted by: john.yung on 9 May 2019, 10:29 am EST
Posted 9 May 2019, 10:29 am EST
After a user had select a record in Flexgrid, and press the Delete operation. I want to prompt user to confirm the delete operation. Can that be done?
The Flexgrid binds to CollectionView.
Thanks,
John
Posted 10 May 2019, 6:24 am EST
Hi John,
You may handle the deletingRow event and show the dialog to confirm the delete operation.
If you would not like to delete the item, just set the CellRangeEventArgs’s cancel property to true.
https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#deletingrow
Regards,
Manish Gupta