Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* @var $this yii\web\View */
- ?>
- <h1>Data Buku</h1>
- <?php
- use yii\grid\GridView;
- use yii\helpers\Html;
- use yii\helpers\Url;
- ?>
- <div id="tabel">
- <?=
- GridView::widget([
- 'dataProvider' => $dataProvider,
- 'columns' => [
- [
- 'class' => 'yii\grid\SerialColumn'
- ],
- [
- 'class' => 'yii\grid\DataColumn',
- 'header' => 'Kategori',
- 'value' => 'kategori.nama_kategori'
- ],
- 'judul',
- ]
- ])
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement