Goutte icon indicating copy to clipboard operation
Goutte copied to clipboard

use kartik\grid\GridView to make TabularForm

Open theresiaSLV opened this issue 2 years ago • 0 comments

ga3 _<?= GridView::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'],

        //'detcus_id',
        'detcus_cust_id',
        'detcus_paket_id',
        'detcus_qty_paket',
        'detcus_frame_id',
        'detcus_album_id',
        'detcus_upg_id',
        'detcus_qty_upgrade',
        'detcus_dp',
        'detcus_cs',
        'detcus_harga',
        'detcus_ket',
        [
            'class' => ActionColumn::className(),
            'urlCreator' => function ($action, DetailCustomer $model, $key, $index, $column) {
                return Url::toRoute([$action, 'detcus_id' => $model->detcus_id]);
             }
        ],
    ],
]); ?>_

theresiaSLV avatar Mar 10 '22 08:03 theresiaSLV