DeleteEvent
Event triggered at the start of a delete operation. It provides access to the records targeted for deletion and supports cancellation of the operation based on custom logic.
Props
The following table outlines the props for the DeleteEvent:
| Name | Type | Default | Description |
|---|---|---|---|
| action | string | ActionType | - | Specifies the type of action being performed, such as add, edit, or delete. |
| cancel | boolean | false | Specifies whether to cancel the delete operation. If true, the deletion is aborted and no changes are made. |
| data | T[] | - | Array of record objects that are about to be deleted from the grid. Each object represents a row in the grid's data source. |