This question is locked. New answers and comments are not allowed.
                        
                        Hi,
I use the DataSourceResult as the datasource of my grid.
But DateTime are not inserted/updated correctly as they are not correctly formated for MySql.
I had to add the following code to the update method. Same code would also be required for insert I think.
Do you have a better solution than mine ?
$result = date_parse($model->$property);                             if($result["error_count"] == 0){    $input_parameters [] = date_format(new DateTime($model->$property), 'Y-m-d H:i:s');}else{    $input_parameters [] = $model->$property;}