How to update multiple records

Hey
I was wandering if it’s possible to update multiple records in one click.

For example let’s say we have an invoice and there is items in that invoice.

And the user can change the quantity for each item(client side).

Now how can i update all the items quantity in that invoice on the server with the updated quantity that the user set?

The same way you can see some site put a button “Update All” that will loop through all the items and update their values

Yes, there is a multi update action available in server connect:

Use it in your server action and then use the Form Generator on the page, to generate multi update form:

Do not forget to enable “Multi” option:

2 Likes

@Teodor
Thank you very much
This is exactly what i was looking for

1 Like