Record Insert using Modal - how to refresh a database table

I am adding data to an order table using a Modal. Each time I press Save in the modal then a new record is added to the order table.

I would like the contents of the table to be displayed on the main page and to be refreshed each time a new record is added.

Currently I can add multiple records but I then have to close the modal and then refresh the main page to see these records.

How should I do the refresh using the click dynamic event in the modal ?

Many thanks,

Use dynamic events on success (on insert action) to reload the data source listing your records on the page.
That’s already been explained in the insert record tutorial.

1 Like