$datagridMapper->add('movementDate','doctrine_orm_date_range',[
'field_type'=>'sonata_type_date_range_picker',
'field_options' => [
'field_options' => [
'format' => 'yyyy-MM-dd'
]
]
])
$datagridMapper->add('movementDate', DateRangeFilter::class,[
'field_type'=> DateRangePickerType::class,
'field_options' => [
'field_options' => [
'format' => 'dd.MM.yyyy'
]
]
])
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.