Prado\Web\UI\ActiveControls\TActiveDataList::setDataSource PHP Méthode

setDataSource() public méthode

In addition, the render method of all connected pagers is called so they get updated when the data source is changed. Also the repeater 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());
        }
    }