public function init() { if (!$this->name) { throw new CException('You should provide name for EditableColumn'); } parent::init(); //need to attach ajaxUpdate handler to refresh editables on pagination and sort WhEditable::attachAjaxUpdateEvent($this->grid); }