A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

36 lines
1.1 KiB

<?php
class QDataGrid extends QDataGridBase {
protected $intCellSpacing = 0;
protected $intCellPadding = 0;
///////////////////////////
// DataGrid Preferences
///////////////////////////
// Feel free to specify global display preferences/defaults for all QDataGrid controls
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';
}
// Override any of these methods/variables below to alter the way the DataGrid gets rendered
// protected function GetPaginatorRowHtml() {}
// protected function GetHeaderRowHtml() {}
// protected $blnShowFooter = true;
// protected function GetFooterRowHtml() {
// return sprintf('<tr><td colspan="%s" style="text-align: center">Some Footer Can Go Here</td></tr>', count($this->objColumnArray));
// }
// protected function GetDataGridRowHtml($objObject) {}
}
?>