yii2-behaviors Collection of behaviors. Currently 2 behaviors available: SaveGridFiltersBehavior and SaveGridPaginationBehavior

A collection of useful behaviors for Yii2. Currently 2 behaviors are available, both for use with GridView.

  • SaveGridPaginationBehavior
  • SaveGridFiltersBehavior

The SaveGridPaginationBehavior keeps the last page number viewed in session so when the user gets back to the grid view, the last viewed page is shown.

The SaveGridFiltersBehavior keeps the last used filters in session. When the user gets back to the grid view, the filters are restored.

Usage ΒΆ

Checkout the project page on GitHub for instructions on how to install and use the behaviors: https://github.com/marqu3s/yii2-behaviors

1 0
2 followers
0 downloads
Yii Version: 2.0
License: MIT
Category: Caching
Developed by: jjmf
Created on: Feb 22, 2016
Last updated: 8 years ago

Related Extensions