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[...]