protected function createIntegerControl($container, $column, $record)
 {
     if ($column->getColumnSize() == 1) {
         return $this->createBooleanControl($container, $column, $record);
     } else {
         parent::createIntegerControl($container, $column, $record);
     }
 }
 protected function getDateTimeValue($container, $column, $record)
 {
     if (preg_match('/timestamp/i', $column->getDbType())) {
         $time = $container->findControl(self::DEFAULT_ID)->getTimestamp();
         $s = Prado::createComponent('System.Util.TDateTimeStamp');
         $date = $s->getDate($time);
         $hour = $container->findControl('scaffold_time_hour')->getSelectedValue();
         $mins = $container->findControl('scaffold_time_min')->getSelectedValue();
         $secs = $container->findControl('scaffold_time_sec')->getSelectedValue();
         return $s->getTimeStamp($hour, $mins, $secs, $date['mon'], $date['mday'], $date['year']);
     } else {
         return parent::getDateTimeValue($container, $column, $record);
     }
 }