Skip to main content

App event handlers reference

Reference documentation for app event handlers.

Events

Events triggered by user interactions. You can configure event handlers in the IDE to trigger queries or other actions in response to events.

Support for each event depends upon the component or object being configured.

EventDescription
BlurThe input field is deselected.
Button PressA button is pressed.
CancelAn action is canceled.
Cancel ChangesA change is canceled.
CaptureA value is captured.
Cell ChangeA cell value is changed.
ChangeThe value is changed.
Change CellA cell value is changed.
Change EventAn event is changed.
Change FilterA filter is changed.
Change PageThe current page is changed.
Change Row SelectionThe selected row is changed.
Change SortA sorting option is changed.
Checkbox PressA checkbox is pressed.
ClearA value is cleared.
ClickAn item is clicked or pressed.
Click ActionAn action button is clicked or pressed.
Click CellA cell is clicked or pressed.
Click EventAn event is clicked or pressed.
Click RowA row is clicked or pressed.
Click ToolbarA toolbar button is clicked or pressed.
Click ValueA value is clicked or pressed.
CloseThe component or item is closed.
Create EventAn event is created.
Deselect RowA row is deselected.
Double Click RowA row is double-clicked or pressed.
EndedAn action ends.
Expand RowA row is expanded.
FailureA query or action has failed.
FalseThe value is set to false.
Filter ChangeA filter is changed.
FocusThe input field is selected.
HoverAn item is hovered over.
Input Value ChangeThe input value is changed.
InvalidA value is invalid.
Legend ClickA legend item is clicked or pressed.
Legend Double ClickA legend item is double-clicked or pressed.
LoadData is loaded.
Logo ClickThe logo is clicked or pressed.
On Point Hovered OverA point of interest is hovered over.
On Point Hovered Over EndA point of interest is no longer hovered over.
On Point SelectedA point of interest is selected.
On Stripe Token CreatedA Stripe token is created.
On Viewport ChangeThe viewport is changed.
OpenThe component or item is opened.
Page ChangeA page is changed.
ParseData is parsed.
PauseAn action is paused.
PlayAn action is started.
Point PressedA point of interest is clicked or pressed or pressed.
PressAn item is pressed.
RefreshData is refreshed.
Remove EventAn event is removed.
ResetA value is reset.
Row ClickA row is clicked or pressed.
Row Select ChangeA selected row is changed.
SaveChanges are saved.
Save ChangesChanges are saved.
Save NewNew changes are saved.
ScanA value is scanned.
SelectA value is selected.
Select CellA cell is selected.
Select RowA row is selected.
Sort ChangeA sorting option is changed.
StopAn action is stopped.
SubmitThe value is submitted.
SuccessA query or action is successfully completed.
Suffix Icon PressA suffix icon is pressed.
Switch PressA switch is toggled.
ToggleA value is toggled.
TrueThe value is set to true.
UnhoverAn item is no longer hovered over.
UploadData is uploaded.

Actions

All actions that can be triggered by event handlers. Actions can be set in the Action dropdown when creating or editing an event handler.

ActionDescription
Control queryTrigger, reset, or clear the cache for a query.
Control componentsChoose a component and call one of its methods. View component events and methods in the component library.
Run scriptRun a JavaScript script.
Go to appNavigate with optional query or hash parameters to a Retool app.
Go to pageNavigate to another page from within an app.
Go to URLNavigate with optional query or hash parameters to an external URL.
Show notificationShow an informational, success, warning, or error message.
Set variableStore any data in a variable, similar to a global variable in JavaScript.
Set local storageSet or clear data in local storage.
Copy to clipboardCopy a value to the user's clipboard.
Export dataExport data to a CSV, TSV, JSON, or Excel (.xlsx) file.
ConfettiShow confetti animation.