You mean perform X logic on multiple objects (rows) in datagrid1?
If the datagrid has multiselect enabled, you can add a button in the action bar with a microflow behind it and set the object-list as parameter in the microflow. You can then perform the logic you want by iterating on that list via a loop for example,