Download the PHP package setitch/yii2-datatables without Composer
On this page you can find all versions of the php package setitch/yii2-datatables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download setitch/yii2-datatables
More information about setitch/yii2-datatables
Files in setitch/yii2-datatables
Package yii2-datatables
Short Description Yii2 Extension for DataTables jQuery plug-in - stable
License MIT
Homepage https://github.com/Setitch/yii2-datatables
Informations about the package yii2-datatables
Forked because of instability of the source project.
Yii2 DataTables
Yii2 Widget for DataTables plug-in for jQuery
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Basic Usage
DataTable options
Also you can use all Datatables options
To pass them as widget options:
Add Links to row
Properties of LinkColumn
:
label
- text placed ina
tag;url
- will be passed toUrl::to()
;options
- HTML options of thea
tag;queryParams
- array of params added tourl
Styling
DataTables
supports several styling solutions, including Bootstrap
, jQuery UI
, Foundation
.
Custom assets
It's posible to use custom styles and scripts:
Server-side processing
To enable server-side processing add DataTableAction
to controller like this:
Searching and ordering can be customized using closures
And add options to widget:
All versions of yii2-datatables with dependencies
yiisoft/yii2 Version ~2.0
bower-asset/datatables Version ~1.10
bower-asset/datatables-plugins Version ~1.0