Put selected CheckboxColumns to action

I’ve got GridView with CheckboxColumns and I want to forward the selected rows to certain controller.

Here’s how the controller is currently being triggered:

Html::a('<span class="glyphicon glyphicon-chevron-up "', ['moveup', 'id' => $model->orderid, 'page' => $currentPage]);

How do I get/set the selected rows to e.g. to moveup action?

Wrap the grid in a form and submit it when your link is clicked.