/** * QDataGrid::__construct() * * @param mixed $objParentObject The Datagrid's parent * @param string $strControlId Control ID * * @throws QCallerException * @return \QDataGrid */ public function __construct($objParentObject, $strControlId = null) { try { parent::__construct($objParentObject, $strControlId); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } $this->CssClass = 'datagrid'; }
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->strCssClass = 'datagrid'; }
public function __construct($objParentObject, $strControlId = null) { try { parent::__construct($objParentObject, $strControlId); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } // For example... Let's ensure that any LINKED header is still Black $this->objHeaderLinkStyle->ForeColor = "black"; }
public function __construct($objParentObject, $strControlId = null) { try { parent::__construct($objParentObject, $strControlId); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } // For example... Let's ensure that any LINKED header is still Black $this->objHeaderLinkStyle->ForeColor = "black"; // This has to be created here in order to include the javascripts // This is not ideal, because it is creating the control every time it loads, regardless of whether blnShowColumnToggle = true // cannot check blnShowColumnToggle because it is set after the datagrid is created // This is a big hurdle in order to get this included in the Qcodo core $this->objColumnToggle = new QDataGridColumnToggle($this); }