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
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.