/** * QDataGridLegacy::__construct() * * @param mixed $objParentObject The Datagrid's parent * @param string $strControlId Control ID * * @throws QCallerException * @return \QDataGridLegacy */ public function __construct($objParentObject, $strControlId = null) { try { parent::__construct($objParentObject, $strControlId); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } // For example... let's default the CssClass to datagrid $this->CssClass = 'datagrid'; }