dev-master
9999999-devDatatables
MIT
The Requires
- yiisoft/yii2 *
- bower-asset/jquery >= 1.7.0
- bower-asset/datatables >= 1.9.4
- bower-asset/datatables-bootstrap3 *
- bower-asset/datatables-tabletools *
by Avikarsha Saha
extension yii2
Datatables
yii2-datatables, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist avikarsha/yii2-datatable "*"
or add, (*4)
"avikarsha/yii2-datatable": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
```php search(Yii::$app->request->queryParams); ?> <?= DataTables::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ ['class' => 'yii\grid\SerialColumn'],, (*7)
//columns ['class' => 'yii\grid\ActionColumn'], ],
]);?>```, (*8)
Datatables
MIT
extension yii2