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', [ 'attribute' => 'gis_base_id', 'value' => function($model) { return $model->gisBase->name; } ], 'name', //'geometry', //'type', //'created_at', //'updated_at', //'created_by', //'updated_by', [ 'class' => ActionColumn::className(), 'urlCreator' => function ($action, GisGeoFeatures $model, $key, $index, $column) { return Url::toRoute([$action, 'id' => $model->id]); } ], ], ]); ?>