Clear CGridView Filters, Sort & Pager
CGridView, filter, filters, filtering, clear filters, clear, gridview, reset, remember
sorting and filters of CGridViews or derivatives wh
ing methods to remember those filters is not very much covered. Here is an alternative.
I use [ERememberFiltersBehavior](http://www.yiiframework.com/extension/remember-filters-gridview "RememberFiltersBehavior") and a previous wiki also shows a method to remember filters.
[EButtonColumnWithClearFilters](http://www.yiiframework.com/extension/clear-filters-gridview "Clear Filters GridView") supposedly does the job, and a [web page](http://hafiznor.wordpress.com/2013/01/10/yii-reset-filter-on-gridview/ "Yii Reset Filter On GridView") / [forum entry](http://www.yiiframework.com/forum/index.php/topic/14242-modifying-cgridviews-default-filtersearch-behaviour/page__view__findpost__p__70802 "forum entry") also explain a method.
They did not meet my "requirements", so I worked out another method.
The code is not perfect yet (I would like to not use 'window.location.href'), but I thought sharing this is usefull for you. If you work out a better way, share it here!