/**
* @inheritdoc
*/
public function renderDataCell($model, $key, $index)
{
if (!$this->_isContextMenu) {
return parent::renderDataCell($model, $key, $index);
} else {
$options = $this->fetchContentOptions($model, $key, $index);
$this->parseExcelFormats($options, $model, $key, $index);
$out = $this->renderDataCellContent($model, $key, $index);
return Html::tag('td', $out, $options);
}
}