Codxplore.com

Latest news: New android application Islamic Video has been released. its a free islamic video application for android smartphone. Download now!


<?php
use yiiwidgetsPjax;
?>


Add above line in the beginning of your view. 


<?php Pjax::begin(); ?>

<?= GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'columns' => [
        ['class' => 'yiigridSerialColumn'],

        'id',
        'branch:ntext',
        'version:ntext',
        'release_date:ntext',

        [
            'class' => 'yiigridActionColumn',
            'template' => '{view}',
        ],
    ],
]); ?>

<?php Pjax::end(); ?>

 

Tags : PHP, Yii2,

Views : 1567

Subscribe Us


Follow Us