2

I have an issue which related to Yii booster datepicker.

scenario:

<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
'id'=>'expend-form',
'enableAjaxValidation'=>false,
'type'=>'horizontal',   )); ?>

<p class="help-block">Fields with <span class="required">*</span> are required.</p>

<?php echo $form->errorSummary($model); ?>

<?php // echo $form->textFieldRow($model,'fecha',array('class'=>'span5')); 
    echo $form->datepickerRow($model, 'fecha',
            array('prepend'=>'<i class="icon-calendar"></i>' 
                    , 'options'=>array( 'format' => 'dd/mm/yyyy', 
                                        'weekStart'=> 1,
                                        'showButtonPanel' => true,
                                        'showAnim'=>'fold',)
            )
        );

?>

Problem is:

options:

'showButtonPanel' => true,
'showAnim'=>'fold',

not working.

and the CSS have something wrong (check the screenshot)

enter image description here

Any ideas?

Thanks

4

3 に答える 3

0

main.css で検索と置換

thead th {background:e5eCf9;}

thead th {background:#ffffff;}

.box {padding:1.5em;margin-bottom:1.5em;background:#e5eCf9;}

.box {padding:1.5em;margin-bottom:1.5em;background:#ffffff;}

于 2013-12-18T23:11:12.623 に答える
0

@Nathanphan、 Bootstrap Datepickerに基づくzii.widgets.jui.CJuiDatePickerのオプションを使用しようとしています。これらのオプション (および) を使用する必要がある場合は、ウィジェットを使用するようにコードを変更してください。TbDatePicker
showButtonPanelshowAnimCJuiDatePicker

于 2013-02-26T18:55:48.753 に答える