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);
}
}
}