PHPackages                             evg-rudakov/yii2-storing-query-params-grid-view - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. evg-rudakov/yii2-storing-query-params-grid-view

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

evg-rudakov/yii2-storing-query-params-grid-view
===============================================

GridView with the ability to store queryParams to the $\_SESSION

1.0(6y ago)18[1 issues](https://github.com/evg-rudakov/yii2-storing-filters-grid-view/issues)MITPHP

Since Sep 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/evg-rudakov/yii2-storing-filters-grid-view)[ Packagist](https://packagist.org/packages/evg-rudakov/yii2-storing-query-params-grid-view)[ RSS](/packages/evg-rudakov-yii2-storing-query-params-grid-view/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Storing Filters GridView
========================

[](#storing-filters-gridview)

Widget which extends by **yii\\grid\\GridView** so it knows how to do the same thing as parent. Also this widget can store selected filters(**queryParams**) of a GridView that will not be lost when you return from another page. QueryParams are stored in **\\Yii::$app-&gt;session**.

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

[](#installation)

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

Either run

```
php composer.phar require "evg-rudakov/yii2-storing-query-params-grid-view": "^1.0"

```

or add

```
"evg-rudakov/yii2-storing-query-params-grid-view": "^1.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
