Data control using buttons in another container

Hello all,  My requirement is in data grid2 select a row using checkbox or multiple rows using checkbox and save it or delete it using a separate action button outside the grid for delete or save the object, is this possible. Thank you
1 answers

I believe you can do it by creating a attribute “selected” (your checkbox)

on the click on your button you will retrieve the objects that have that attribute set to yes.