PHP code example of wisard17 / yii2-data-table

1. Go to this page and download the library: Download wisard17/yii2-data-table library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wisard17 / yii2-data-table example snippets


<?= wisard17\DataTableView::widget([
    'columns' => [
        'Customer_ID',
        'action',
        'Customer_Name',
        'Office_Phone',
        'Office_Email',
    ],
    'model' => new Model(),
])