public function getCellIndex() { foreach ($this->getRow()->getCells() as $key => $row) { if ($row == $this) { return $key; } } throw new TConfigurationException('tactivetablecell_control_notincollection', get_class($this), $this->getUniqueID()); }