protected function renderDataCellContent($model, $key, $index)
{
return preg_replace_callback('/\\{([\\w\\-\\/]+)\\}/', function ($matches) use($model, $key, $index) {
$name = $matches[1];
return $this->renderButton($name, $model, $key, $index);
}, $this->template);
}