Deleting Dynamic Data
With the ability to create and update data, you must be able to delete data that is no longer needed. This example shows how to delete a single row of data and then how to delete multiple rows of data from a jig.
Datasources, jigs, component & actions
default.jigx is the database where the Dynamic Data table is defined.
sqlite datasource calls the Dynamic Data provider, using an SQL query to return the data.
jig.list is the type of jig used to list the data with a
swipeable: leftaction that uses the Dynamic Data provider'sdeletemethod.
Examples and code snippets
Delete a single data record using execute-entity


Deleting multiple data records using execute-entities
To delete all employees (multiple data records) in the Dynamic Data table use the action.execute-entities action with an expression that as shown below. This will delete all records in the table when the Delete all employees button is pressed.


Last updated
Was this helpful?