Download the PHP package rklandesverband/yii2-datatables without Composer
On this page you can find all versions of the php package rklandesverband/yii2-datatables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rklandesverband/yii2-datatables
More information about rklandesverband/yii2-datatables
Files in rklandesverband/yii2-datatables
Package yii2-datatables
Short Description Datatables widget for Yii2 uses datatables
License MIT
Informations about the package yii2-datatables
<<<<<<< HEAD DataTables widget for Yii2
This extension provides the DataTables integration for the Yii2 framework.
Installation
The preferred way to install this extension is through composer.
With Composer installed, you can then install the extension using the following commands:
composer global require "fxp/composer-asset-plugin:~1.0.0"
composer require --prefer-dist rklandesverband/yii2-datatables "*"
The first command installs the composer asset plugin which allows managing bower and npm package dependencies through Composer. You only need to run this command once for all. The second command installs the datatables widget.
You can also add (instead of the second command):
to the require section of your composer.json
file.
Usage
Use DataTables as any other other Yii2 widget.
This extension uses the Bootstrap integration plugin to provide a Yii2 style by default.
The TableTools plugin is also available. Specify the DOM and the tableTools settings in the clientOptions array as the following example.
You can also use DataTables in the JavaScript layer of your application. To achieve this, you need to include DataTables as a dependency of your Asset file. In this case, you could use yii\grid\GridView or using the datatables options retrieve => true to avoid errors. In both case all options must be in the Javascript object.
"rklandesverband/yii2-widget-datatables": "*"
to the require section of your `composer.json` file.
Usage
-----
Use DataTables as any other other Yii2 widget.
This extension uses the Bootstrap integration plugin to provide a Yii2 style by default.
The TableTools plugin is also available. Specify the DOM and the tableTools settings in the clientOptions array as the following example.
You can also use DataTables in the JavaScript layer of your application. To achieve this, you need to include DataTables as a dependency of your Asset file. In this case, you could use yii\grid\GridView or using the datatables options retrieve => true to avoid errors. In both case all options must be in the Javascript object.
All versions of yii2-datatables with dependencies
bower-asset/jquery Version ~3
bower-asset/datatables-plugins Version ~1.10.15
datatables/datatables Version *