, (*1)
DataTables Extension for Yii 2
Extension for Yii framework 2.0. to used DataTables easy., (*2)
Installation
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
composer require --prefer-dist wisard17/yii2-data-table
or add, (*5)
"wisard17/yii2-data-table": "~1.0.0"
to the require section of your composer.json
file., (*6)
Usage
For example, the following is simple code:, (*7)
<?= wisard17\DataTableView::widget([
'columns' => [
'Customer_ID',
'action',
'Customer_Name',
'Office_Phone',
'Office_Email',
],
'model' => new Model(),
]) ?>