Skip to content
🚀 Rapid Application Development with the App Builder

postDelete

The postDelete hook is executed after a row has been deleted. It allows developers to run custom logic once the deletion is complete.

Parameters

ParameterTypeDescription
tablereferenceTable instance and state.
appreferenceContext object app.
rowIdobjectThe primary key of the deleted row.

Structure parameter table

js
table: {
	instance: *ref_to_table_api,
	state: *ref_to_table_store,
	requery: *ref_to_requery_table_function,
}

Return Value

None

✨ Example of a postDelete Hook

This example calls a global function to perform additional tasks after a row has been deleted.

js
((table, app) => {

	sendAdminMail(rowId)

})