Actions
Actions are operations that can be applied with one or multiple records.
Creating Actions
Actions are simple classes that extend Action
.
label
: The label displayed in theActionsMenu
icon
: The icon displayed in theActionsMenu
handle()
The method called when running the action.
Example
Confirmation Dialog
It is important to ask the user for confirmation when running important tasks. You can achieve that by adding a confirmation
method to your action that returns the properties for the dialog. See the available options