Yii Framework Forum: To Display Datepicker into the tab view - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

To Display Datepicker into the tab view How to possible this ? Rate Topic: -----

#1 User is offline   tmalhar 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 06-February 12

Posted 26 March 2012 - 04:44 AM

Hi...

Here i wanto to give one datepicker but this datepicker is display into the TAB VIEW.How to possible this ?


$personal_info .= $form->labelEx($info,'employee_dob'); //$personal_info is tab name

$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'model'=>$info,
'attribute'=>'employee_dob',
'language'=>Yii::app()->language=='et' ? 'et' : null,
'options'=>array(
'dateFormat'=>'yy-mm-dd',
'showAnim'=>'fold', // 'show' (the default), 'slideDown', 'fadeIn', 'fold'
'showOn'=>'button', // 'focus', 'button', 'both'
'buttonText'=>Yii::t('ui','Select form calendar'),
'buttonImage'=>Yii::app()->request->baseUrl.'/images/calendar.gif',
'buttonImageOnly'=>true,
),
'htmlOptions'=>array(
'style'=>'width:80px;vertical-align:top'
),
));



How to possible the datepicker is display into the tab ?

Please give me some help.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users