Commit e28edb3e by Michael Härtl

Improve docs for CheckboxColumn::$checkboxOptions

parent 2938cf72
......@@ -44,7 +44,8 @@ class CheckboxColumn extends Column
*/
public $name = 'selection';
/**
* @var array HTML attributes for the checkboxes.
* @var array|\Closure the HTML attributes for checkboxes. This can either be an array of
* attributes or an anonymous function ([[Closure]]) that returns such an array.
* @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
*/
public $checkboxOptions = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment