datatable vs dataGrid

Hi all, I’m trying to turn an old application based on yii to yii2, for converting a data table in a grid yii2 it’s all good except for a case:

Case: in my old dtable I had columns showing a boolean result that confirmed the presence or not of a related model, each of which had a checkbox that if checked reload main query for show that particular relationship.

Any suggestion ? Thanks