Hello I have a problem with editable and datetimepicker
I will describe with screens
- Added DatetimePicker showing on wrong position depends of size site:
100%: (1 on screeen is posion where should be callendar , 2 is postion where callendar is)
When I change it to DatePicker is okay so Im confused of this.
I have searched everyting but wihout scuccess… Maybe anyone could help me with this?
Usage of picker:
[
'class'=>'kartik\grid\EditableColumn',
'attribute'=>'wh_out_date',
'value' => function($model) {
if(!empty(strtotime($model->wh_out_date))){
return date('Y-m-d H:i', strtotime($model->wh_out_date));
}
},
'editableOptions'=>[
'format'=>'link',
'header'=>'complete',
'asPopover' => false,
'inputType'=>\kartik\editable\Editable::INPUT_DATETIME,
'options'=>[
'pluginOptions'=>[
'language'=>'pl',
'pickerPosition' => 'top-left',
'format' => 'yyyy-mm-dd hh:ii',
'displayFormat' => 'yyyy-mm-dd hh:ii',
'saveFormat' => 'yyyy-mm-dd hh:ii',
'viewformat'=> 'yyyy-mm-dd hh:ii',
'convertFormat'=>true,
'todayHighlight' => true,
'autoclose' => true,
'todayHighlight' => true,
'weekStart' =>'1',
'showNullButton' => true,
'inline' => true,
]
]
],
],