I´d like to be able to check records before editing or deleting them. Let´s say a record has a "satus" field where I must check its value and depending on that value (0, 1, etc) it can be edited or deleted, otherwise if its value is i.e. 3 it cannot be changed or deleted.
PSPavithra Subramaniyam Syncfusion Team January 10, 2019 04:30 AM UTC
Thanks for contacting Syncfusion support.
You can achieve your requirement by enabling the args.cancel property in the ‘actionBegin’ event with requestType “beginEdit” and “delete”. Please refer to the below code example and documentation link for further information.
In the below demo, the rows which are having the value for ShipCountry column as “Denmark” is prevented from editing.