On row click action
The On row click action section defines the operations to execute when a user clicks a table row.
You can define multiple (optional) data operations and a form operation.
To define a table on row click action
Click the On row click panel to define the operations.
Note
The panel provides a summary of operations that you have defined.
[Optional] Define the Data operations.
Click + Add to define a data operation.
Select the Operation type.
- CallbackExecutes a callback.You must select the callback from the dropdown list.
- Set parametersThis option allows you to explicitly set form element and input parameter values if the user clicks the button. A common use for this functionality is for a reset filters button without executing a callback.When you select this option, a JSON edit panel appears, where you must provide JSON to apply when the user clicks the button. The edit panel is interactive: it suggests element IDs and parameters as you type, highlights invalid IDs and parameters, and indicates invalid values.
Repeat the previous steps for all the data operations that you want to execute when a user clicks the button.
Note
Click the trash can icon to remove a data operation.
Define the Form operation
Select an action from the dropdown list.
- No action [default]No form action is executed.Select Trigger ‘form accepted’ event to pass any defined output parameters to the parent form, and trigger the data initializer callback on the parent form.
- Open formSelect the child form Mode (Popup or Sidebar) and the child Form name to open.
Note
If you choose Sidebar mode, the child form remains open when the user selects a different row.Selecting a new row re-initilizes the child form, so the form’s data initializer callback is called although the child form remains open.Tip
You must use Input parameters mapping to pass information about the selected row to the dependent form which is opened.For example, you might create an ID parameter on the dependent form and map an identifying value to it here. This identifying value is then available to the dependent form when it is initialized.You can then map the ID parameter to the dependent form’s data initializer callback Request mapping section to retrieve additional details in the callback response, which are mapped to UI elements in the data initializer callback Response mapping section. - Close formCloses the current form.Select Trigger ‘form accepted’ event to pass any defined output parameters to the parent form, and trigger the data initializer callback on the parent form.
Click outside the popup window to save your changes.