Skip to main content

Overview

In application development, various user interactions trigger events that can be harnessed to perform specific actions or functions. Let's explore the range of events available in DronaHQ, designed to enhance user interactivity and streamline application behavior.

You have been using the input controls like the Text control, the numeric control, currency as well as the selection controls like drop-down control, checkbox control, radio control, and so on. We have seen how to bind data using different data sources. Now at times, you have wanted to add actions that should be performed on the happening of an event like once you select or change the selection from a dropdown or radio control, you may want some action to be performed. Similarly when a control loses focus, then you may want to trigger some action. For this reason, we have a set of action events added to the different types of controls, screens and apps.

EventDescriptionAssociated Components
screen_routingTriggered when navigating from one screen to another.Screens
screen_openTriggered when a screen is opened.Screens
screen_closeTriggered when a screen is closed.Screens
recurring_eventsTriggered for events that occur periodically.Home Screen
value_changeTriggered when the value of an input control changes.Text, Numeric, Currency, Selection Controls
focus_outTriggered when focus moves to another control.Input Controls
enter_pressTriggered on pressing the Enter key while inputting data.Input Controls
value_selectTriggered when a value in a selection control is selected.Selection Controls, Navbar
button_clickTriggered on click of a button, step, or menu item.Buttons, Steps, Menus, Heading, Dashboard
data_clickTriggered when a point on the chart is clicked.Charts, Graphs
on_startTriggered when a timer is started.Timers
on_stopTriggered when a timer is stopped or paused.Timers
on_resetTriggered when a timer is reset.Timers
alarm_intervalTriggered at every alarm interval set earlier.Timers
link_clickTriggered when the link text is clicked.Links
app_openTriggered when the application is opened or loaded.Application
action1_clickTriggered when a custom action or function is clicked.Controls
row_selectTriggered when a row in the table grid is selected.Table Grid
add_clickTriggered when the add button in the table grid is clicked.Table Grid
update_clickTriggered when the update button in the table grid is clicked.Table Grid
delete_clickTriggered when the delete button in the table grid is clicked.Table Grid
refresh_clickTriggered when the refresh button in the table grid is clicked.Table Grid
save_changesTriggered when changes are saved in the table grid.Table Grid
on_user_inputTriggered when user inputs text in the chat control.Chat Control

These events provide developers with granular control over application behavior, allowing for the creation of dynamic and responsive user experiences. By leveraging these events in conjunction with DronaHQ's intuitive development environment, developers can build powerful and interactive applications with ease.