On row click action

The On row click action section defines the action to be taken when a user clicks a table row.

Options

  • No action
    The button has no action.
  • Callback
    A callback is executed.
    1. Choose the callback from the Callback name dropdown.

    2. Specify any request and response mappings you require.

  • Open form
    Another form is opened.
    1. Choose the Mode:

      • Popup

      • Sidebar
        The sidebar form remains open when the user selects a different row.
        Selecting a new row re-initilizes the dependent form, so the form’s data initializer callback is called although the sidebar form remains open.

      The demo CyberApp illustrates both options.

    2. Choose the form to open in the Form name dropdown.

    3. [Optional] Map any form input parameters in the Input parameters mapping section.

      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.
  • Other
    Select the Action type from the dropdown:
    • Close Form
      The form closes if the user clicks the button.
    • Set Parameters newfeaturesmall
      This 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, an 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.