onRecordDelete

The event occurs right before a record is deleted. By returning false, the following delete operation is canceled

   console.log("deleting a record");
   if(a != b){
       return false; //cancel the delete
   }

Last updated