Prado\Web\UI\WebControls\TDataList::getEditItem PHP Method

getEditItem() public method

public getEditItem ( ) : TControl
return TControl the edit item
    public function getEditItem()
    {
        $index = $this->getEditItemIndex();
        $items = $this->getItems();
        if ($index >= 0 && $index < $items->getCount()) {
            return $items->itemAt($index);
        } else {
            return null;
        }
    }
TDataList