Prado\Web\UI\ActiveControls\TActiveDataGrid::render PHP Method

render() public method

If the datagrid did not pass the prerender phase yet, it will register itself for rendering later. Else it will call the {@link renderDataGrid()} method which will do the rendering of the datagrid.
public render ( $writer )
    public function render($writer)
    {
        if ($this->getHasPreRendered()) {
            $this->renderDataGrid($writer);
            if ($this->getActiveControl()->canUpdateClientSide()) {
                $this->getPage()->getCallbackClient()->replaceContent($this->getSurroundingTagId(), $writer);
            }
        } else {
            $this->getPage()->getAdapter()->registerControlToRender($this, $writer);
        }
    }