Revision #4 has been created by kiran sharma on Jul 17, 2012, 12:07:04 PM with the memo:
« previous (#3)
How to filter CGridView with From Date and To Date datepicker
date filter, CGridView, date range filter, CGridView date range filter
This artical is related to allow user to filter CGridView with date range using datepicker on submit button.
Here I use [Yii Cookie](http://www.yiiframework.com/wiki/152/cookie-management-in-yii/ "Yii Cookie") to preserve date in datepicker textbox after submitting the form.
Step 1 : Lets insert below code in your view part where required
I create one form for submit the dates ( from_date & to_date )
[...]Insert below code in controller
[...]Add two public variable in your model class
and this is it as you can filter from date range ... .. .