grid\GridView createDataColumn()

createDataColumn() protected method

Creates a yii\grid\DataColumn object based on a string in the format of "attribute:format:label".

protected yii\grid\DataColumn createDataColumn ( $text )
$text string

The column specification string

return yii\grid\DataColumn

The column instance

throws yii\base\InvalidConfigException

if the column specification is invalid

doc_Yii
2016-10-30 17:04:18
Comments
Leave a Comment

Please login to continue.