Download the PHP package specifi/yii2-datatables without Composer
On this page you can find all versions of the php package specifi/yii2-datatables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download specifi/yii2-datatables
More information about specifi/yii2-datatables
Files in specifi/yii2-datatables
Package yii2-datatables
Short Description Yii2 Extension for DataTables jQuery plug-in
License MIT
Homepage https://github.com/NullRefExcep/yii2-datatables
Informations about the package yii2-datatables
Yii2 DataTables
Yii2 Widget for DataTables plug-in for jQuery
Work in Progress. Not ready for production
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
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
In DataTable options specify:
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