TTableRow displays a table row. The table cells in the row can be accessed
via {@link getCells Cells}. The horizontal and vertical alignments of the row
are specified via {@link setHorizontalAlign HorizontalAlign} and
{@link setVerticalAlign VerticalAlign} properties, respectively.
/** * Renders and replaces the row's content on the client-side. When render() is * called before the OnPreRender event, such as when render() is called during * a callback event handler, the rendering is defered until OnPreRender event * is raised. * @param THtmlWriter html writer */ public function render($writer) { if ($this->getHasPreRendered()) { parent::render($writer); if ($this->getActiveControl()->canUpdateClientSide()) { $this->getPage()->getCallbackClient()->replaceContent($this, $writer); } } else { $this->getPage()->getAdapter()->registerControlToRender($this, $writer); // If we update a TActiveTableRow on callback, we shouldn't update all childs, // because the whole content will be replaced by the parent. if ($this->getHasControls()) { foreach ($this->findControlsByType('IActiveControl', false) as $control) { $control->getActiveControl()->setEnableUpdate(false); } } } }