Skip to content

Instantly share code, notes, and snippets.

@ferlyz05
Created March 22, 2014 19:53
Show Gist options
  • Save ferlyz05/9713241 to your computer and use it in GitHub Desktop.
Save ferlyz05/9713241 to your computer and use it in GitHub Desktop.
'afterAjaxUpdate'=>"function(){jQuery('#Presensi_waktu').datepicker({'showAnim':'fold','showOn':'focus','dateFormat':'dd-mm-yy','changeMonth':'true','changeYear':'true'})}",
array(
'name'=>'tanggal',
'value'=>'$data->tanggal."-".$data->bulan."-".$data->tahun',
'filter'=>$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'name'=>'Presensi[waktu]',
'options'=>array(
'showAnim'=>'fold', // 'show' (the default), 'slideDown', 'fadeIn', 'fold'
'showOn'=>'focus', // 'focus', 'button', 'both'
'dateFormat'=>'dd-mm-yy',
'changeMonth' => 'true',
'changeYear' => 'true',
),
'htmlOptions'=>array(
'style'=>'width:80px;vertical-align:top'
),
),true),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment