For my Drupal 8 website I have created a view with a list of nodes. I have grouped the nodes based on the certain field. Additionally I would like to provide a possibility for the user to perform bulk operations on the nodes. I have managed to add the checkboxes in front of the nodes. But the question for me is how can I add the checkbox for the grouping field, so that by selection the "grouping field" all nodes under will be automatically selected?
Not sure what your end goal is but you should first see if Views Bulk Operations solves your use case: https://www.drupal.org/project/views_bulk_operations