PHP yiister\grid\widgets Namespace

Classes

Name Description
InputColumn Class InputColumn Example: [ 'class' => \yiister\grid\widgets\InputColumn::className(), 'attribute' => 'price', 'updateAction' => '/projects/column-update', ],
MultifieldColumn Class MultifieldColumn Usage example: [ 'class' => \yiister\grid\widgets\MultifieldColumn::className(), 'attribute' => 'name', 'label' => 'Name + slug', 'attributes' => ['slug'], 'template' => '{name}
{slug}', ],
ProgressColumn Class ProgressColumn Example: [ 'class' => \yiister\grid\widgets\ProgressColumn::className(), 'attribute' => 'reserved', 'size' => \yiister\grid\widgets\ProgressColumn::SIZE_LARGE, 'isStriped' => true, 'progressBarClass' => function ($model, $column) { return $model->{$column->attribute} > 15 ? \yiister\grid\widgets\ProgressColumn::STYLE_SUCCESS : \yiister\grid\widgets\ProgressColumn::STYLE_WARNING; }, ],
ToggleColumn Class ToggleColumn Usage example: [ 'class' => \yiister\grid\widgets\ToggleColumn::className(), 'attribute' => 'is_active', 'updateAction' => '/projects/column-update', ]