public getCellIndex ( ) : integer | ||
return | integer | the zero-based index of the cell |
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());
}