Creates a DataColumn object based on a string in the format of "attribute:format:label".
protected createDataColumn ( string $text ) : |
||
$text | string | the column specification string |
return | the column instance |
/** * {@inheritdoc} */ protected function createDataColumn($text) { $column = static::column($text); if (is_array($column)) { $column['attribute'] = $column['attribute'] ?: $text; return $this->createColumnObject($column); } return parent::createDataColumn($text); }