Prado\Web\UI\ActiveControls\TActiveDataGrid::setDataSource PHP Метод

setDataSource() публичный Метод

In addition, the render method of all connected pagers is called so they get updated when the data source is changed. Also the datagrid registers itself for rendering in order to get it's content replaced on client side.
public setDataSource ( $value )
    public function setDataSource($value)
    {
        parent::setDataSource($value);
        if ($this->getActiveControl()->canUpdateClientSide()) {
            $this->renderPager();
            $this->getPage()->getAdapter()->registerControlToRender($this, $this->getResponse()->createHtmlWriter());
        }
    }