title: ActionColumn in yii2
body: <p>The <code>ActionColumn</code> have <code>view</code>, <code>update</code>, <code>delete</code> by default.</p>
  
  <p>I want to add a button "made" <em>to mark task as done</em>,( I have a column in db call <em>status</em> that get a int 0 or 1 ),
   so I want a function that implements the logic to mark the task as done, someone can help me with this ?</p>
  
  <p>This example I get in the forum, but I don't understand very well</p>
  
  <pre><code>[
    'class' =&gt; 'yii\grid\ActionColumn',
    'template' =&gt; '{view} {update} {delete} {made}',
    'buttons'=&gt; [
      'made' =&gt; function () {     
        return Html::button('&lt;span class="glyphicon glyphicon-ok"&gt;&lt;/span&gt;', [
          'title' =&gt; Yii::t('yii', 'made'),
        ]);                                
      }
    ],
  </code></pre>