Add Button on row's of gridview

Hello people.

I’m doing a job at my university, and i need to add a button in all rows of a gridview serialcolumn and when i click that button, he pass an id of that row and invoke one action.

You can help me?

Thank you

Check out the ActionColumn: http://www.yiiframework.com/doc-2.0/guide-output-data-widgets.html#action-column