Using CJuiDatePicker for CGridView filter

Comparing #3 with #4

Revision #4 was created by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz) on Mar 24, 2014, 2:12:00 PM.

use the same parameters that you had set in your widget

Content

[...]
));

// (#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
[...]