Prado\Web\UI\WebControls\TDataGridItem::__construct PHP Method

__construct() public method

Constructor.
public __construct ( $itemIndex, $dataSourceIndex, $itemType )
    public function __construct($itemIndex, $dataSourceIndex, $itemType)
    {
        $this->_itemIndex = $itemIndex;
        $this->_dataSourceIndex = $dataSourceIndex;
        $this->setItemType($itemType);
        if ($itemType === TListItemType::Header) {
            $this->setTableSection(TTableRowSection::Header);
        } else {
            if ($itemType === TListItemType::Footer) {
                $this->setTableSection(TTableRowSection::Footer);
            }
        }
    }