Delete Event

Delete Event - app.record.index.delete.submit

An event triggered when the "Delete" button is clicked on the pop-up that appears when the delete icon of a record is clicked on the record list.

Function

app.record.index.delete.submit

Properties of the Event Object

PROPERTY TYPE DESCRIPTION
appId Number The App ID.
recordId Number The Record ID.
record Object A record object that holds data of the record that will be deleted.
type String The event type.

Deleting a record after waiting for asynchronous operations to finish

By returning a kintone.Promise object, you can delete a record after waiting for asynchronous operations to finish. Refer to the sample code for the "Save Event" event on the Record Create page.

Notes

  • If false is returned, the deletion will be canceled.
  • When comma-separated values, whitespaces, or double-byte characters are sanitized, as long as the final value does not change, the event will not be triggered. For example, if the user enters a value of 1000 into a field, and then proceeds to manually change the value to 1,000, 1000, or 1000, the value will be sanitized back to 1000 (the same number), and the field change event will not be triggered.

Limitations

This event is only available on the Desktop, and not on the mobile.