Yii 2.0: 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

Be the first person to leave a comment

Please to leave your comment.

Create extension
No downloadable files yet