PHPackages                             himiklab/yii2-gridview-ajaxed-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. [Framework](/categories/framework)
4. /
5. himiklab/yii2-gridview-ajaxed-widget

ActiveYii2-extension[Framework](/categories/framework)

himiklab/yii2-gridview-ajaxed-widget
====================================

Improved Yii2 GridView widget with support ajax, pjax and modal (Bootstrap)

1.0.4(4y ago)42.0k2[1 PRs](https://github.com/himiklab/yii2-gridview-ajaxed-widget/pulls)MITPHP

Since Apr 26Pushed 4y ago2 watchersCompare

[ Source](https://github.com/himiklab/yii2-gridview-ajaxed-widget)[ Packagist](https://packagist.org/packages/himiklab/yii2-gridview-ajaxed-widget)[ RSS](/packages/himiklab-yii2-gridview-ajaxed-widget/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Ajaxed GridView Widget for Yii2
===============================

[](#ajaxed-gridview-widget-for-yii2)

Improved Yii2 GridView widget with support ajax, pjax and modal (Bootstrap).

![Packagist](https://camo.githubusercontent.com/b87146c14c7bf34268d1e8570dffebe94da8760f39bd8ac0b3001eaec6e2bb9b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68696d696b6c61622f796969322d67726964766965772d616a617865642d7769646765742e737667) ![Packagist](https://camo.githubusercontent.com/eb3cfd837096b28c078dd67417c9049ed2ddca74e6a44ba1ce43b35d34791005/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68696d696b6c61622f796969322d67726964766965772d616a617865642d7769646765742e737667) ![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-gridview-ajaxed-widget" "*"

```

or add

```
"himiklab/yii2-gridview-ajaxed-widget" : "*"
```

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

Usage
-----

[](#usage)

```
// index.php
use himiklab\yii2\ajaxedgrid\GridView;

GridView::widget([
    'dataProvider' => $dataProvider,
    'columns' => [
        'title',
        'author',
        'language',
        'visible:boolean',
    ],
    'jsErrorCallback' => 'function(jqXHR, textStatus) {console.log(jqXHR, textStatus, errorThrown)}',
]);
```

```
// _form.php
