Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

use kartik\grid\GridView to make TabularForm #460

Open
theresiaSLV opened this issue Mar 10, 2022 · 0 comments
Open

use kartik\grid\GridView to make TabularForm #460

theresiaSLV opened this issue Mar 10, 2022 · 0 comments

Comments

@theresiaSLV
Copy link

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]);
             }
        ],
    ],
]); ?>_
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant