如何消除 yii2 中的另一个 actionColumn?

how to eliminate another actionColumn in yii2?

我是yii2的新手,想查看学生资料,这张图我想去掉删除和编辑图标,请问这个图标怎么去掉?This is my web view

这是我的这个索引视图的源代码

    GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'columns' => [
        ['class' => 'yii\grid\SerialColumn'],
        'nis',
        'nama_siswa',
        'jenis_kelamin',
         'telp',
         [
           ...],
      ['class' => 'yii\grid\ActionColumn'],

    ],
]); ?>

将 ActionColumn 的 template 属性 用作

<?= GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'columns' => [
        ['class' => 'yii\grid\SerialColumn'],
        'nis',
        'nama_siswa',
        'jenis_kelamin',
         'telp',
         [
           ...],
      [
       'class' => 'yii\grid\ActionColumn',
       'template' => '{view}'
     ],

    ],
]); ?>