Search
K
Comment on page

Actions

A detailed overview of the types of Actions.
Action is an operation that you can perform in Jet Admin. Visually, the action is a button in the Jet Admin interface.
To add an action you need to select a Button component and drag-and-drop it on the page.

Action types

There are 9 types of actions:
  • Run operation. Perform any CRUD operation or custom API/SQL query.
  • Navigate to page. Passing values and switching between pages.
  • Open URL. Open the link in a new or the current tab.
  • Open Modal/Close Modal. Open or close the pop-up modal window.
  • Run Component Action. Perform an action on a component, such as updating data or clearing the form after submitting.
  • Show Notification. Show custom notification.
  • Export Data. Export data from the table.
  • Download File. Download the file from the API call.

Run Operation

You can perform any CRUD operation or a custom API/SQL query:
Passing values and switching between pages:

Open URL

Opens any website URLs, use Action specified as Open URL.

Open/Close Modal

Open or close the pop-up modal window:

Run Component Action

Perform an action on a component, such as updating data or clearing the form after submitting.

Show Notification

Show custom notification.

Export Data

Export data from the table.

Download File

Select a Component and Action. Then choose a component and select the action that will occur when clicked.
Define the Resource and Operation. Pick a resource and choose an operation to select a collection or write SQL queries.
This will generate a JSON file with the data.

Download File

Select a Component and Action. Then choose a component and select the action that will occur when clicked.
Pick a resource and choose an operation to select a collection or write SQL queries.
This will generate a JSON file with the data.

Copy to clipboard

You can set up actions to copy data to the clipboard. This works with all components. To configure it, click 'Actions' and choose whether to set it up with a formula or static text.
Last modified 3mo ago