Data Item Button Action
DataItemButtonAction sends an item command when a Unity UI Button is clicked.

The commands are commonly handled by widgets like DataTableWidget.
What It Does
- Sends one configured command to the parent data widget when the button is clicked.
- Sends an
OnPointerClicksystem event to the root item GameObject. - Includes optional
Identifierdata so FSM logic can route by control source.
Setup
- Add Data Item Button Action to a UI Button.
- Set the
Commandto send on click. - Optionally set
Identifierto describe which control triggered the action.
Inspector Fields
| Field | Description |
|---|---|
| Command | Action request sent to the parent data widget. |
| Identifier | Optional label included with the action request. |
Common commands:
SelectToggleSelectDeleteMoveUpMoveDownContextMenuCustom
Tips
- Use one button/action component per control (Delete button, Move button, Select button).
- Keep
Identifiervalues consistent (DeleteButton,MoveUpButton) if FSM logic depends on them. - Use
Customcommand when you want custom handling via row-action events and FSMs.