/** * Updates the client-side options if the item list has changed after the OnLoad event. */ public function onPreRender($param) { parent::onPreRender($param); $this->getAdapter()->updateListItems(); $multiple = $this->getIsMultiSelect(); $id = $this->getUniqueID(); $multi_id = $id . '[]'; if ($multiple) { $this->getPage()->registerPostDataLoader($multi_id); } }
/** * Updates the client-side options if the item list has changed after the OnLoad event. */ public function onPreRender($param) { parent::onPreRender($param); $this->getAdapter()->updateListItems(); }