View events allow you to provide actions to run when certain events occur, such as selecting a row in a table view or saving a form. These actions can replace default navigation behaviors, enabling you to create streamlined custom navigation within your apps.
Row Selected (Table, Deck, and Gallery Views)
The Row Selected event is triggered when a user taps on an individual record in the Table, Deck or Gallery views. If you specify an action, it will replace the default behavior of viewing the record details in a detail view (even if the action does not cause its own navigation). Use cases might include navigating directly to the edit form when selecting a row, or quickly changing the value of a status column without the need to open the details view.
Form Saved (Form Views)
The Form Saved Event is triggered when a user saves an add or edit form. If an Action is provided that causes navigation, it will replace the default navigation behavior (including Auto-Reopen and Finish View settings). Unlike the Row Selected Event, if a Form Saved Action is provided that doesn't cause navigation (such as an update row Action or a navigation Action whose condition is not met), the default navigation behavior will still occur.
Events can be connected to actions within the individual view settings of supported view types in the UX > Views pane of the editor. For custom behaviors, first create your own actions in the Behavior > Actions pane of the editor. Eligible actions can then be selected as Event Actions in the view Behavior settings.
Addresscolumns or View Related associated with
Refcolumns can also be selected. The default **auto** option corresponds to the built-in behaviors normally associated with each event.
- Multiple effects for one Event can be combined by providing a composite Action.
- Not all view types currently support Events, but more Event types will likely be added in the future.
- To configure Form Saved Events, you may need to create a new form reference view first.
- Actions based on different tables than the view will not appear in the dropdown - if you don't see the action Action you want as an option, make sure the data sources match.