public function init() { if (!$this->format) { $this->format = $this->dateFormat . ' ' . $this->timeFormat; } //$this->grid->afterAjaxUpdate=($this->grid->afterAjaxUpdate ? $this->grid->afterAjaxUpdate : '').' function(id, data){'.$this->getDatePickerScript().'}'; parent::init(); }
public function init() { parent::init(); $this->align = 'center'; $this->width = 50; }