Change Popup Of Datepicker On Top

Hi all,

I’m use yiiwheels to input date. With the small of the screen, I want to make it, pop up out of the top, not from the bottom. How do I change it?


<?php $this->widget('yiiwheels.widgets.datepicker.WhDatePicker', array(

                        'attribute' => 'CUR_KMKD',

                        'model'=>$model,

                        'pluginOptions' => array(

                            'language' => (Yii::app()->language === 'id') ? Yii::app()->language : '',

                            'format' => 'dd-mm-yyyy'

                        ),

                        'htmlOptions' => array(

                            'class' => 'input-large',

                        )

                    ));

                ?>

Hi masdib,

Your requirement is not clear. Could you please give us a clear requirement so that we could help you.

Thanks

Palraj A

For WhDateRangePicker :

add ‘open’=>‘left’, //right, top, etc.


'pluginOptions' => array(

                            'language' => (Yii::app()->language === 'id') ? Yii::app()->language : '',

                            'format' => 'DD-MM-YYYY',

                            'opens' => 'left',

                        ),

Thanks, i late for know it.