title = 'ชั้นข้อมูล'; $this->params['breadcrumbs'][] = $this->title; ?>
= Html::a('เพิ่มข้อมูล', ['create'], ['class' => 'btn btn-success']) ?>
render('_search', ['model' => $searchModel]); ?> = GridView::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], //'id', 'name', 'description:ntext', //'created_at', //'updated_at', //'created_by', //'updated_by', [ 'class' => ActionColumn::className(), 'urlCreator' => function ($action, GisBase $model, $key, $index, $column) { return Url::toRoute([$action, 'id' => $model->id]); } ], ], ]); ?>