Revision #4 has been created by Kostas Apazidis (KonApaz) on Mar 24, 2014, 2:12:00 PM with the memo:
use the same parameters that you had set in your widget
« previous (#3)
Changes
Title
unchanged
Using CJuiDatePicker for CGridView filter
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
CJuiDatePicker, CGridView, filter
Content
changed
[...]
));
// (#5)
Yii::app()->clientScript->registerScript('re-install-date-picker', "
function reinstallDatePicker(id, data) {
$('#datepicker_for_due_date').datepicker( //use the same parameters that you had set in your widget else the datepicker will be refreshed by default
$('#datepicker_for_due_date').datepicker(jQuery.extend({showMonthAfterYear:false},jQuery.datepicker.regional['ja'],{'dateFormat':'yy/mm/dd'}));
}
");
```
### Note[...]