CJuiDatePicker displays a datepicker.
CJuiDatePicker encapsulates the JUI datepicker plugin.
To use this widget, you may insert the following code in a view:
$this->widget('zii.widgets.jui.CJuiDatePicker',array( 'name'=>'publishDate', // additional javascript options for the date picker plugin 'options'=>array( 'showAnim'=>'fold', ), 'htmlOptions'=>array( 'style'=>'height:20px;' ), ));
By configuring the options property, you may specify the options that need to be passed to the JUI datepicker plugin. Please refer to the JUI datepicker documentation for possible options (name-value pairs).