PHPackages                             himiklab/yii2-jqgrid-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. himiklab/yii2-jqgrid-widget

ActiveYii2-extension

himiklab/yii2-jqgrid-widget
===========================

A powerful ajax-enabled grid widget for Yii2

1.2.3(7y ago)214.0k↓100%14MITPHP

Since Jan 1Pushed 7y ago4 watchersCompare

[ Source](https://github.com/himiklab/yii2-jqgrid-widget)[ Packagist](https://packagist.org/packages/himiklab/yii2-jqgrid-widget)[ RSS](/packages/himiklab-yii2-jqgrid-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (9)Used By (0)Security (1)

jqGrid Widget for Yii2
======================

[](#jqgrid-widget-for-yii2)

Yii2 wrapper for a powerful ajax-enabled grid [free jqGrid](https://github.com/free-jqgrid/jqGrid) jQuery plugin.

![Packagist](https://camo.githubusercontent.com/61ca4a7c8ad8782f81ec7988a5a49b136a374a20379f7fc42012050a204b3ecc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68696d696b6c61622f796969322d6a71677269642d7769646765742e737667) ![Packagist](https://camo.githubusercontent.com/f003a0ad0a112bd4a4af4de9d29250de3fc5c9ffd750d3f927e449932aaa6a02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68696d696b6c61622f796969322d6a71677269642d7769646765742e737667) ![license](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

- Either run

```
php composer.phar require --prefer-dist "himiklab/yii2-jqgrid-widget" "*"

```

or add

```
"himiklab/yii2-jqgrid-widget" : "*"
```

to the require section of your application's `composer.json` file.

- Add action in the controller (optional), for example:

```
use himiklab\jqgrid\actions\JqGridActiveAction;

public function actions()
{
    return [
        'jqgrid' => [
            'class' => JqGridActiveAction::className(),
            'model' => Page::className(),
        ],
    ];
}
```

- View's example:

```
use himiklab\jqgrid\JqGridWidget;
use yii\helpers\Url;
