Global search box in grid view widget in Yii2

category:  Yii2.0 framework

One feature that the users like, is the global search. With CRUD from gii module, the index.php comes with filters for each column in grid view. The attribute calls filterModel. It is good and it is working perfectly. But it would be better if users can search for anything from one search box. In this post, we will implement the global search box for Currency index page. What we will do CurrencySearch.php (in models folder) Add new $globalSearch variable Set … Read More