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

getSelectedItemIndex() public method

public getSelectedItemIndex ( ) : integer
return integer the zero-based index of the selected item in {@link getItems Items}. A value -1 means no item selected.
    public function getSelectedItemIndex()
    {
        return $this->getViewState('SelectedItemIndex', -1);
    }
TDataList